Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame^] | 1 | #ifndef _ARCH_ARM_MACH_MSM_MDM_IOCTLS_H |
| 2 | #define _ARXH_ARM_MACH_MSM_MDM_IOCTLS_H |
| 3 | |
| 4 | |
| 5 | #define CHARM_CODE 0xCC |
| 6 | #define WAKE_CHARM _IO(CHARM_CODE, 1) |
| 7 | #define RESET_CHARM _IO(CHARM_CODE, 2) |
| 8 | #define CHECK_FOR_BOOT _IOR(CHARM_CODE, 3, int) |
| 9 | #define WAIT_FOR_BOOT _IO(CHARM_CODE, 4) |
| 10 | #define NORMAL_BOOT_DONE _IOW(CHARM_CODE, 5, int) |
| 11 | #define RAM_DUMP_DONE _IOW(CHARM_CODE, 6, int) |
| 12 | #define WAIT_FOR_RESTART _IOR(CHARM_CODE, 7, int) |
| 13 | |
| 14 | enum charm_boot_type { |
| 15 | CHARM_NORMAL_BOOT = 0, |
| 16 | CHARM_RAM_DUMPS, |
| 17 | }; |
| 18 | |
| 19 | #endif |