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 #define GET_DLOAD_STATUS _IOR(CHARM_CODE, 8, int) 14 15 enum charm_boot_type { 16 CHARM_NORMAL_BOOT = 0, 17 CHARM_RAM_DUMPS, 18 }; 19 20 #endif 21