diff options
Diffstat (limited to 'include/hardware/boot_control.h')
-rw-r--r-- | include/hardware/boot_control.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/hardware/boot_control.h b/include/hardware/boot_control.h index 7a6a8498..36a867da 100644 --- a/include/hardware/boot_control.h +++ b/include/hardware/boot_control.h @@ -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; |