summaryrefslogtreecommitdiff
path: root/include/sys/reboot.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-14 18:10:13 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-14 19:28:34 +0100
commit872cf03f26c2801ae6c3008ce5fa0d7856f5f85d (patch)
tree94809812b71ee286eb5b74c70e4d08fc4c8dc057 /include/sys/reboot.h
parentec769a83bde09c76bd6ad9ee7f391036dba5cd97 (diff)
libc: implement err/warn functions
Diffstat (limited to 'include/sys/reboot.h')
-rw-r--r--include/sys/reboot.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/sys/reboot.h b/include/sys/reboot.h
new file mode 100644
index 00000000..d6499d10
--- /dev/null
+++ b/include/sys/reboot.h
@@ -0,0 +1,14 @@
+#ifndef __SYS_REBOOT_H
+#define __SYS_REBOOT_H
+
+#define RB_AUTOBOOT 0x01234567
+#define RB_HALT_SYSTEM 0xCDEF0123
+#define RB_ENABLE_CAD 0x89ABCDEF
+#define RB_DISABLE_CAD 0x00000000
+#define RB_POWRT_OFF 0x4321FEDC
+#define RB_SW_SUSPEND 0xD000FCE2
+#define RB_KEXEC 0x45584543
+
+int reboot(int);
+
+#endif