[edk2-devel] [PATCH v2 0/3] ArmPkg/SMBIOS: Update HII string settings for SMBIOS

Nhi Pham via groups.io nhi=os.amperecomputing.com at groups.io
Thu Dec 16 03:54:52 UTC 2021


This patchset leverages the OemUpdateSmbiosInfo API functions from
OemMiscLib for updating some HII string fields in the SMBIOS Type 1/2/4
because they may be updated dynamically during UEFI booting with the
data being passed from the pre-UEFI firmware.

Cc: Leif Lindholm <leif at nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
Cc: Rebecca Cran <rebecca at nuviainc.com>
Cc: Sami Mujawar <sami.mujawar at arm.com>
Signed-off-by: Nhi Pham <nhi at os.amperecomputing.com>

Changes from v1:
* Change to use FixedPcdGetPtr() instead of PcdGetPtr(). [SAMI]
* Fix coding style issue after running uncrustify.       [SAMI]

Nhi Pham (3):
  ArmPkg/SmbiosMiscDxe: Remove duplicate HII string definition
  ArmPkg/SmbiosMiscDxe: Get full SMBIOS strings from OemMiscLib
  ArmPkg/ProcessorSubClassDxe: Get serial and part number from
    OemMiscLib

 ArmPkg/Include/Library/OemMiscLib.h                                              |  5 +++++
 ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c                 | 14 ++++++++++++--
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c    | 12 ++++++++++++
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerFunction.c | 18 ++++++++++++++++++
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturer.uni          |  1 -
 5 files changed, 47 insertions(+), 3 deletions(-)

-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84955): https://edk2.groups.io/g/devel/message/84955
Mute This Topic: https://groups.io/mt/87760768/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list