| The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 1 | /**************************************************************************** | 
|  | 2 | **************************************************************************** | 
|  | 3 | *** | 
|  | 4 | ***   This header was automatically generated from a Linux kernel header | 
|  | 5 | ***   of the same name, to make information necessary for userspace to | 
|  | 6 | ***   call into the kernel available to libc.  It contains only constants, | 
|  | 7 | ***   structures, and macros generated from the original header, and thus, | 
|  | 8 | ***   contains no copyrightable information. | 
|  | 9 | *** | 
|  | 10 | **************************************************************************** | 
|  | 11 | ****************************************************************************/ | 
|  | 12 | #ifndef _LINUX_REBOOT_H | 
|  | 13 | #define _LINUX_REBOOT_H | 
|  | 14 |  | 
|  | 15 | #define LINUX_REBOOT_MAGIC1 0xfee1dead | 
|  | 16 | #define LINUX_REBOOT_MAGIC2 672274793 | 
|  | 17 | #define LINUX_REBOOT_MAGIC2A 85072278 | 
|  | 18 | #define LINUX_REBOOT_MAGIC2B 369367448 | 
|  | 19 | #define LINUX_REBOOT_MAGIC2C 537993216 | 
|  | 20 |  | 
|  | 21 | #define LINUX_REBOOT_CMD_RESTART 0x01234567 | 
|  | 22 | #define LINUX_REBOOT_CMD_HALT 0xCDEF0123 | 
|  | 23 | #define LINUX_REBOOT_CMD_CAD_ON 0x89ABCDEF | 
|  | 24 | #define LINUX_REBOOT_CMD_CAD_OFF 0x00000000 | 
|  | 25 | #define LINUX_REBOOT_CMD_POWER_OFF 0x4321FEDC | 
|  | 26 | #define LINUX_REBOOT_CMD_RESTART2 0xA1B2C3D4 | 
|  | 27 | #define LINUX_REBOOT_CMD_SW_SUSPEND 0xD000FCE2 | 
|  | 28 | #define LINUX_REBOOT_CMD_KEXEC 0x45584543 | 
|  | 29 |  | 
|  | 30 | #endif |