aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/abis/linux/reboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/abis/linux/reboot.h')
-rw-r--r--lib/mlibc/abis/linux/reboot.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/mlibc/abis/linux/reboot.h b/lib/mlibc/abis/linux/reboot.h
new file mode 100644
index 0000000..aadc18f
--- /dev/null
+++ b/lib/mlibc/abis/linux/reboot.h
@@ -0,0 +1,12 @@
+#ifndef _ABIBITS_REBOOT_H
+#define _ABIBITS_REBOOT_H
+
+#define RB_AUTOBOOT 0x01234567
+#define RB_HALT_SYSTEM 0xcdef0123
+#define RB_ENABLE_CAD 0x89abcdef
+#define RB_DISABLE_CAD 0
+#define RB_POWER_OFF 0x4321fedc
+#define RB_SW_SUSPEND 0xd000fce2
+#define RB_KEXEC 0x45584543
+
+#endif // _ABIBITS_REBOOT_H