diff options
Diffstat (limited to 'firmware/include/vboot_api.h')
-rw-r--r-- | firmware/include/vboot_api.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h index c9eeb33d..48859e06 100644 --- a/firmware/include/vboot_api.h +++ b/firmware/include/vboot_api.h @@ -95,7 +95,11 @@ typedef struct VbCommonParams { #define VB_INIT_FLAG_WP_ENABLED 0x00000004 /* This is a S3 resume, not a normal boot. */ #define VB_INIT_FLAG_S3_RESUME 0x00000008 - +/* Previous boot attempt failed for reasons external to verified boot (RAM + * init failure, SSD missing, etc.). */ +/* TODO: add a field to VbInitParams which holds a reason code, and report + * that via VbSharedData. */ +#define VB_INIT_FLAG_PREVIOUS_BOOT_FAIL 0x00000010 /* Output flags for VbInitParams.out_flags. Used to indicate * potential boot paths and configuration to the calling firmware @@ -210,14 +214,6 @@ void VbUpdateFirmwareBodyHash(VbCommonParams* cparams, VbError_t VbSelectAndLoadKernel(VbCommonParams* cparams, VbSelectAndLoadKernelParams* kparams); -/* S3 resume handler. This only needs to be called if the hardware - * does not maintain power to the TPM when in S3 (suspend-to-RAM). - * - * Returns VBERROR_SUCCESS if success, non-zero if error; on error, - * caller should reboot. */ -VbError_t VbS3Resume(void); - - /*****************************************************************************/ /* Debug output (from utility.h) */ |