aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/include/direct-controls.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/skiboot/include/direct-controls.h')
-rw-r--r--roms/skiboot/include/direct-controls.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/roms/skiboot/include/direct-controls.h b/roms/skiboot/include/direct-controls.h
new file mode 100644
index 000000000..8e3809bff
--- /dev/null
+++ b/roms/skiboot/include/direct-controls.h
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+/* Copyright 2017 IBM Corp. */
+
+#ifndef __DIRECT_CONTROLS_H
+#define __DIRECT_CONTROLS_H
+
+#include <skiboot.h>
+#include <opal.h>
+#include <cpu.h>
+
+/* fast reboot APIs */
+extern int sreset_all_prepare(void);
+extern int sreset_all_others(void);
+extern void sreset_all_finish(void);
+
+#endif /* __DIRECT_CONTROLS_H */