ArmPkg: Allow platforms to report their boot status via OemMiscLib call

Add a new function to OemMiscLib to allow platforms to report their boot
status into the Type32 SMBIOS table.

Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
This commit is contained in:
Rebecca Cran
2021-03-30 20:16:17 -06:00
committed by mergify[bot]
parent bf2b99990e
commit bbeb1bea41
3 changed files with 27 additions and 0 deletions

View File

@@ -140,6 +140,20 @@ OemUpdateSmbiosInfo (
ASSERT (FALSE);
}
/** Fetches the Type 32 boot information status.
@return Boot status.
**/
MISC_BOOT_INFORMATION_STATUS_DATA_TYPE
EFIAPI
OemGetBootStatus (
VOID
)
{
ASSERT (FALSE);
return BootInformationStatusNoError;
}
/** Fetches the chassis status when it was last booted.
@return Chassis status.