]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Include/Library/OemMiscLib.h
ArmPkg/ProcessorSubClassDxe: Get serial and part number from OemMiscLib
authorNhi Pham <nhi@os.amperecomputing.com>
Thu, 16 Dec 2021 03:54:55 +0000 (10:54 +0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 16 Dec 2021 18:08:22 +0000 (18:08 +0000)
commitb451c6908878c448c2a2aa6e9ca2a2dfe078fbb8
tree2bac6c84d4c783f09283cf4bb95b1d5800304526
parent45e38429700af53617d04dfa05ee57adcecef3de
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 <nhi@os.amperecomputing.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ArmPkg/Include/Library/OemMiscLib.h
ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c