summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@nuviainc.com>2021-03-30 20:16:17 -0600
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-04-27 12:46:26 +0000
commitbbeb1bea4166c577499a26b5097bab4d69829d94 (patch)
tree95b937482944e1d3267ce7fb361f7d73c8f78259 /ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
parentbf2b99990e1b0a0eed09d6e5b22b293b9dfa978f (diff)
downloadedk2-bbeb1bea4166c577499a26b5097bab4d69829d94.tar.gz
edk2-bbeb1bea4166c577499a26b5097bab4d69829d94.tar.bz2
edk2-bbeb1bea4166c577499a26b5097bab4d69829d94.zip
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>
Diffstat (limited to 'ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c')
-rw-r--r--ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
index 33b0081d65..3125269735 100644
--- a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
+++ b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
@@ -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.