From 130b649a8b5fdd8ed8f88816eae7ca38c6e7dfc4 Mon Sep 17 00:00:00 2001 From: Nhi Pham Date: Mon, 19 Sep 2022 09:19:47 +0700 Subject: ArmPkg/SmbiosMiscDxe: Support fetching System UUID This adds an API to OemMiscLib for fetching the system UUID according to the platform. Signed-off-by: Nhi Pham Reviewed-by: Rebecca Cran Reviewed-by: Sami Mujawar Acked-by: Ard Biesheuvel Acked-by: Leif Lindholm --- ArmPkg/Include/Library/OemMiscLib.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ArmPkg/Include/Library') diff --git a/ArmPkg/Include/Library/OemMiscLib.h b/ArmPkg/Include/Library/OemMiscLib.h index 330bb4b014..d87737db9c 100644 --- a/ArmPkg/Include/Library/OemMiscLib.h +++ b/ArmPkg/Include/Library/OemMiscLib.h @@ -235,4 +235,16 @@ OemGetChassisNumPowerCords ( VOID ); +/** + Fetches the system UUID. + + @param[out] SystemUuid The pointer to the buffer to store the System UUID. + +**/ +VOID +EFIAPI +OemGetSystemUuid ( + OUT GUID *SystemUuid + ); + #endif // OEM_MISC_LIB_H_ -- cgit v1.2.3