From b451c6908878c448c2a2aa6e9ca2a2dfe078fbb8 Mon Sep 17 00:00:00 2001 From: Nhi Pham Date: Thu, 16 Dec 2021 10:54:55 +0700 Subject: ArmPkg/ProcessorSubClassDxe: Get serial and part number from OemMiscLib Currently, the serial and part number of a processor are filled with fixed PCDs. However, they may be updated dynamically according to the information being passed from a the pre-UEFI firmware during booting. So, this patch is to support updating these string fields from OemMiscLib if the PCDs are empty. Signed-off-by: Nhi Pham Reviewed-by: Sami Mujawar --- ArmPkg/Include/Library/OemMiscLib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ArmPkg/Include') diff --git a/ArmPkg/Include/Library/OemMiscLib.h b/ArmPkg/Include/Library/OemMiscLib.h index f25c8f3..47cb30d 100644 --- a/ArmPkg/Include/Library/OemMiscLib.h +++ b/ArmPkg/Include/Library/OemMiscLib.h @@ -56,6 +56,8 @@ typedef enum { ChassisTypeType03, ManufacturerType03, SkuNumberType03, + ProcessorPartNumType04, + ProcessorSerialNumType04, SmbiosHiiStringFieldMax } OEM_MISC_SMBIOS_HII_STRING_FIELD; -- cgit v1.1