Home | History | Annotate | Download | only in linux
      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  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef _ARCH_ARM_MACH_MSM_MDM_IOCTLS_H
     20 #define _ARXH_ARM_MACH_MSM_MDM_IOCTLS_H
     21 #define CHARM_CODE 0xCC
     22 #define WAKE_CHARM _IO(CHARM_CODE, 1)
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define RESET_CHARM _IO(CHARM_CODE, 2)
     25 #define CHECK_FOR_BOOT _IOR(CHARM_CODE, 3, int)
     26 #define WAIT_FOR_BOOT _IO(CHARM_CODE, 4)
     27 #define NORMAL_BOOT_DONE _IOW(CHARM_CODE, 5, int)
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define RAM_DUMP_DONE _IOW(CHARM_CODE, 6, int)
     30 #define WAIT_FOR_RESTART _IOR(CHARM_CODE, 7, int)
     31 #define GET_DLOAD_STATUS _IOR(CHARM_CODE, 8, int)
     32 #define IMAGE_UPGRADE _IOW(CHARM_CODE, 9, int)
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define SHUTDOWN_CHARM _IOW(CHARM_CODE, 10, int)
     35 enum charm_boot_type {
     36  CHARM_NORMAL_BOOT = 0,
     37  CHARM_RAM_DUMPS,
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 };
     40 enum image_upgrade_type {
     41  APQ_CONTROLLED_UPGRADE = 0,
     42  MDM_CONTROLLED_UPGRADE,
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 };
     45 #endif
     46 
     47