aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/reboot.h
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-02-08 13:19:56 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-02-08 13:19:56 +0100
commitd7229970f8910aa756d299f8bdceee7f4d1fbfbc (patch)
treea95ff2e6bd50578d34d6449c9fde173acc0ef59c /lib/sys/reboot.h
parente947b1459f93f11ad91f3e920676fe1b828281e7 (diff)
add env and make smash be able to parse files with comments
Diffstat (limited to 'lib/sys/reboot.h')
-rw-r--r--lib/sys/reboot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sys/reboot.h b/lib/sys/reboot.h
index 22893ca..824fbc3 100644
--- a/lib/sys/reboot.h
+++ b/lib/sys/reboot.h
@@ -7,9 +7,10 @@
#define REBOOT_HARD_RESET 0x01234567
#define REBOOT_ENABLE_CAD 0x89abcdef
#define REBOOT_DISABLE_CAD 0
-#define REBOOT_POWEROFF 0x4321fedc
+#define REBOOT_RESTART 0x4321fedc
#define REBOOT_SUSPEND 0xd000fce2
#define REBOOT_NEW_KERNEL 0x45584543
+#define REBOOT_POWEROFF 0x01234567
static int reboot(int cmd)
{