Strukturreferenz für boot_control_module
#include <
boot_control.h
>
Datenfelder |
|
| struct hw_module_t | common |
| void(* | init )(struct boot_control_module *module) |
| unsigniert(* | getNumberSlots )(struct boot_control_module *module) |
| unsigniert(* | 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] |
Detaillierte Beschreibung
Jedes Hardwaremodul muss eine Datenstruktur namens HAL_MODULE_INFO_SYM haben. Die Felder dieser Datenstruktur müssen mit hw_module_t beginnen, gefolgt von modulspezifischen Informationen.
Definition in Zeile 50 der Datei boot_control.h .
Felddokumentation
| struct hw_module_t common |
Definition in Zeile 51 der Datei boot_control.h .
| unsigned(* getCurrentSlot)(struct boot_control_module *module) |
Definition in Zeile 76 der Datei boot_control.h .
| unsigned(* getNumberSlots)(struct boot_control_module *module) |
Definition in Zeile 64 der Datei boot_control.h
| const char*(* getSuffix)(struct boot_control_module *module, unsigned slot) |
Definition in Zeile 118 der Datei boot_control.h
| void(* init)(struct boot_control_module *module) |
Definition in Zeile 57 der Datei boot_control.h .
| int(* isSlotBootable)(struct boot_control_module *module, unsigned slot) |
Definition in Zeile 110 der Datei boot_control.h .
| int(* isSlotMarkedSuccessful)(struct boot_control_module *module, unsigned slot) |
Definition in Zeile 126 der Datei boot_control.h
| int(* markBootSuccessful)(struct boot_control_module *module) |
Definition in Zeile 84 der Datei boot_control.h
| void* reserved[31] |
Definition in Zeile 128 der Datei boot_control.h .
| int(* setActiveBootSlot)(struct boot_control_module *module, unsigned slot) |
Definition in Zeile 93 der Datei boot_control.h
| int(* setSlotAsUnbootable)(struct boot_control_module *module, unsigned slot) |
Definition in Zeile 101 der Datei boot_control.h .
Die Dokumentation für diese Struktur wurde aus der folgenden Datei generiert:
- hardware/libhardware/include/hardware/ boot_control.h