OLD | NEW |
1 #ifndef _SYS_REBOOT_H | 1 #ifndef _SYS_REBOOT_H |
2 #define _SYS_REBOOT_H | 2 #define _SYS_REBOOT_H |
3 #ifdef __cplusplus | 3 #ifdef __cplusplus |
4 extern "C" { | 4 extern "C" { |
5 #endif | 5 #endif |
6 | 6 |
7 #define RB_AUTOBOOT 0x01234567 | 7 #define RB_AUTOBOOT 0x01234567 |
8 #define RB_HALT_SYSTEM 0xcdef0123 | 8 #define RB_HALT_SYSTEM 0xcdef0123 |
9 #define RB_ENABLE_CAD 0x89abcdef | 9 #define RB_ENABLE_CAD 0x89abcdef |
10 #define RB_DISABLE_CAD 0 | 10 #define RB_DISABLE_CAD 0 |
11 #define RB_POWER_OFF 0x4321fedc | 11 #define RB_POWER_OFF 0x4321fedc |
12 #define RB_SW_SUSPEND 0xd000fce2 | 12 #define RB_SW_SUSPEND 0xd000fce2 |
13 #define RB_KEXEC 0x45584543 | 13 #define RB_KEXEC 0x45584543 |
14 | 14 |
15 int reboot(int); | 15 int reboot(int); |
16 | 16 |
17 #ifdef __cplusplus | 17 #ifdef __cplusplus |
18 } | 18 } |
19 #endif | 19 #endif |
20 #endif | 20 #endif |
OLD | NEW |