diff options
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/reboot.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/include/sys/reboot.h b/sys/include/sys/reboot.h index 86fc45d..eeb55f8 100644 --- a/sys/include/sys/reboot.h +++ b/sys/include/sys/reboot.h @@ -33,9 +33,10 @@ #include <sys/param.h> #include <sys/cdefs.h> -#define REBOOT_HALT BIT(0) /* Halt instead of rebooting */ - #if defined(_KERNEL) +#define REBOOT_RESET 0x00000000 +#define REBOOT_HALT BIT(0) /* Halt instead of rebooting */ +#define REBOOT_POWEROFF BIT(1) /* Power off (needs REBOOT_HALT set too) */ void cpu_reboot(int method); |