Référence de la struct boot_control_module
#include <
boot_control.h
>
Champs de données |
|
| struct hw_module_t | commun |
| void(* | init )(struct boot_control_module *module) |
| non signé(* | getNumberSlots )(struct boot_control_module *module) |
| non signé(* | getCurrentSlot )(struct boot_control_module *module) |
| int(* | markBootSuccessful )(struct boot_control_module *module) |
| int(* | setActiveBootSlot )(struct boot_control_module *module, slot non signé) |
| int(* | setSlotAsUnbootable )(struct boot_control_module *module, slot non signé) |
| int(* | isSlotBootable )(struct boot_control_module *module, slot non signé) |
| const char *(* | getSuffix )(struct boot_control_module *module, slot non signé) |
| int(* | isSlotMarkedSuccessful )(struct boot_control_module *module, slot non signé) |
| void * | réservé [31] |
Description détaillée
Chaque module matériel doit avoir une structure de données nommée HAL_MODULE_INFO_SYM, et les champs de cette structure de données doivent commencer par hw_module_t suivi d'informations spécifiques au module.
Définition à la ligne 50 du fichier boot_control.h .
Documentation des champs
| struct hw_module_t common |
Définition à la ligne 51 du fichier boot_control.h .
| unsigned(* getCurrentSlot)(struct boot_control_module *module) |
Définition à la ligne 76 du fichier boot_control.h .
| unsigned(* getNumberSlots)(struct boot_control_module *module) |
Définition à la ligne 64 du fichier boot_control.h .
| const char*(* getSuffix)(struct boot_control_module *module, unsigned slot) |
Définition à la ligne 118 du fichier boot_control.h .
| void(* init)(struct boot_control_module *module) |
Définition à la ligne 57 du fichier boot_control.h .
| int(* isSlotBootable)(struct boot_control_module *module, slot non signé) |
Définition à la ligne 110 du fichier boot_control.h .
| int(* isSlotMarkedSuccessful)(struct boot_control_module *module, unsigned slot) |
Définition à la ligne 126 du fichier boot_control.h .
| int(* markBootSuccessful)(struct boot_control_module *module) |
Définition à la ligne 84 du fichier boot_control.h .
| void* reserved[31] |
Définition à la ligne 128 du fichier boot_control.h .
| int(* setActiveBootSlot)(struct boot_control_module *module, slot non signé) |
Définition à la ligne 93 du fichier boot_control.h .
| int(* setSlotAsUnbootable)(struct boot_control_module *module, slot non signé) |
Définition à la ligne 101 du fichier boot_control.h .
La documentation de ce struct a été générée à partir du fichier suivant :
- hardware/libhardware/include/hardware/ boot_control.h