boot_control_module 구조체 참조
  
   #include <
   
    boot_control.h
   
   >
  
 
| 데이터 필드 | |
| struct hw_module_t | 일반적인 | 
| void(* | init )(struct boot_control_module *module) | 
| unsigned(* | getNumberSlots )(struct boot_control_module *module) | 
| unsigned(* | getCurrentSlot )(struct boot_control_module *module) | 
| int(* | markBootSuccessful )(struct boot_control_module *module) | 
| int(* | setActiveBootSlot )(struct boot_control_module *module, unsigned slot) | 
| int(* | setSlotAsUnbootable )(struct boot_control_module *module, unsigned slot) | 
| int(* | isSlotBootable )(struct boot_control_module *module, unsigned slot) | 
| const char *(* | getSuffix )(struct boot_control_module *module, unsigned slot) | 
| int(* | isSlotMarkedSuccessful )(struct boot_control_module *module, unsigned slot) | 
| void * | reserved [31] | 
상세 설명
모든 하드웨어 모듈에는 HAL_MODULE_INFO_SYM이라는 데이터 구조가 있어야 하며 이 데이터 구조의 필드는 hw_module_t 로 시작하고 그 뒤에 모듈별 정보가 나와야 합니다.
boot_control.h 파일의 50 번 째 줄에 정의되어 있습니다.
필드 문서
| struct hw_module_t common | 
boot_control.h 파일의 51 번 라인에 정의되어 있습니다.
| unsigned(* getCurrentSlot)(struct boot_control_module *module) | 
boot_control.h 파일의 76 행에 정의되어 있습니다.
| unsigned(* getNumberSlots)(struct boot_control_module *module) | 
boot_control.h 파일의 64 행에 정의되어 있습니다.
| const char*(* getSuffix)(struct boot_control_module *module, unsigned slot) | 
boot_control.h 파일의 118 번 라인에 정의되어 있습니다.
| void(* init)(struct boot_control_module *module) | 
boot_control.h 파일의 57 행에 정의되어 있습니다.
| int(* isSlotBootable)(struct boot_control_module *module, unsigned slot) | 
boot_control.h 파일의 110 행에 정의되어 있습니다.
| int(* isSlotMarkedSuccessful)(struct boot_control_module *module, unsigned slot) | 
boot_control.h 파일의 126 번 라인에 정의되어 있습니다.
| int(* markBootSuccessful)(struct boot_control_module *module) | 
boot_control.h 파일의 84 행에 정의되어 있습니다.
| void* reserved[31] | 
boot_control.h 파일의 128 번 째 줄에 정의되어 있습니다.
| int(* setActiveBootSlot)(struct boot_control_module *module, unsigned slot) | 
boot_control.h 파일의 93 행에 정의되어 있습니다.
| int(* setSlotAsUnbootable)(struct boot_control_module *module, unsigned slot) | 
boot_control.h 파일의 101 행에 정의되어 있습니다.
이 구조체에 관한 문서는 다음 파일에서 생성되었습니다.
- hardware/libhardware/include/hardware/ boot_control.h
