Merge "libhardware: boot_control: Add isSlotMarkedSuccesful() function."
am: e96eb0ddda
* commit 'e96eb0dddaa0c248e324a0e9f5dacc8eef646773':
libhardware: boot_control: Add isSlotMarkedSuccesful() function.
This commit is contained in:
commit
d8bc07cdce
1 changed files with 9 additions and 1 deletions
|
@ -117,7 +117,15 @@ typedef struct boot_control_module {
|
|||
*/
|
||||
const char* (*getSuffix)(struct boot_control_module *module, unsigned slot);
|
||||
|
||||
void* reserved[32];
|
||||
/*
|
||||
* (*isSlotMarkedSucessful)() returns if the slot passed in parameter has
|
||||
* been marked as successful using markBootSuccessful.
|
||||
* Returns 1 if the slot has been marked as successful, 0 if it's
|
||||
* not the case, and -errno on error.
|
||||
*/
|
||||
int (*isSlotMarkedSuccessful)(struct boot_control_module *module, unsigned slot);
|
||||
|
||||
void* reserved[31];
|
||||
} boot_control_module_t;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue