1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _UAPI_LINUX_REBOOT_H 7 #define _UAPI_LINUX_REBOOT_H 8 #define LINUX_REBOOT_MAGIC1 0xfee1dead 9 #define LINUX_REBOOT_MAGIC2 672274793 10 #define LINUX_REBOOT_MAGIC2A 85072278 11 #define LINUX_REBOOT_MAGIC2B 369367448 12 #define LINUX_REBOOT_MAGIC2C 537993216 13 #define LINUX_REBOOT_CMD_RESTART 0x01234567 14 #define LINUX_REBOOT_CMD_HALT 0xCDEF0123 15 #define LINUX_REBOOT_CMD_CAD_ON 0x89ABCDEF 16 #define LINUX_REBOOT_CMD_CAD_OFF 0x00000000 17 #define LINUX_REBOOT_CMD_POWER_OFF 0x4321FEDC 18 #define LINUX_REBOOT_CMD_RESTART2 0xA1B2C3D4 19 #define LINUX_REBOOT_CMD_SW_SUSPEND 0xD000FCE2 20 #define LINUX_REBOOT_CMD_KEXEC 0x45584543 21 #endif 22