Skip to content

Commit 3894972

Browse files
DynamicTablesPkg: Smbios Processor Information (Type 4)
Signed-off-by: Sarah Walker <[email protected]>
1 parent fd7d1ea commit 3894972

File tree

4 files changed

+628
-2
lines changed

4 files changed

+628
-2
lines changed

DynamicTablesPkg/DynamicTables.dsc.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/AcpiIortLibArm.inf
9494
DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/AcpiMadtLibArm.inf
9595

96+
DynamicTablesPkg/Library/Smbios/SmbiosType4Lib/SmbiosType4Lib.inf
9697
DynamicTablesPkg/Library/Smbios/SmbiosType7Lib/SmbiosType7Lib.inf
9798

9899
# AML Fixup (Arm specific)
@@ -131,6 +132,7 @@
131132
NULL|DynamicTablesPkg/Library/Acpi/Common/AcpiSsdtCpuTopologyLib/SsdtCpuTopologyLib.inf
132133
NULL|DynamicTablesPkg/Library/Acpi/Common/AcpiSsdtPcieLib/SsdtPcieLib.inf
133134

135+
NULL|DynamicTablesPkg/Library/Smbios/SmbiosType4Lib/SmbiosType4Lib.inf
134136
NULL|DynamicTablesPkg/Library/Smbios/SmbiosType7Lib/SmbiosType7Lib.inf
135137
}
136138

DynamicTablesPkg/Include/ArchCommonNameSpaceObjects.h

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@ typedef struct CmArchCommonLpiInfo {
382382
CHAR8 StateName[16];
383383
} CM_ARCH_COMMON_LPI_INFO;
384384

385+
#define SMBIOS_MAX_STRING_SIZE (1024)
386+
385387
/** A structure that describes the Processor Hierarchy Node (Type 0) in PPTT
386388
387389
ID: EArchCommonObjProcHierarchyInfo
@@ -421,10 +423,26 @@ typedef struct CmArchCommonProcHierarchyInfo {
421423
/// If OverrideNameUidEnabled is TRUE then this value will be used for
422424
/// the UID of processor containers.
423425
UINT32 OverrideUid;
426+
/// SMBIOS: Processor ID. See SMBIOS "Processor ID field format" for format details.
427+
UINT64 ProcessorId;
428+
/// SMBIOS: Designation of this CM_ARCH_COMMON_PROC_HIERARCHY_INFO instance.
429+
/// This string (and all that follow) are intended only for instances with
430+
/// EFI_ACPI_6_3_PPTT_PACKAGE_PHYSICAL set, ie describing physical sockets.
431+
CHAR8 SocketDesignation[SMBIOS_MAX_STRING_SIZE];
432+
/// SMBIOS: String stating processor manufacturer.
433+
CHAR8 ProcessorManufacturer[SMBIOS_MAX_STRING_SIZE];
434+
/// SMBIOS: String stating processor version / device name.
435+
CHAR8 ProcessorVersion[SMBIOS_MAX_STRING_SIZE];
436+
/// SMBIOS: String stating processor serial number.
437+
CHAR8 SerialNumber[SMBIOS_MAX_STRING_SIZE];
438+
/// SMBIOS: String stating processor asset tag.
439+
CHAR8 AssetTag[SMBIOS_MAX_STRING_SIZE];
440+
/// SMBIOS: String stating processor part number.
441+
CHAR8 PartNumber[SMBIOS_MAX_STRING_SIZE];
442+
/// SMBIOS: String stating processor socket type.
443+
CHAR8 SocketType[SMBIOS_MAX_STRING_SIZE];
424444
} CM_ARCH_COMMON_PROC_HIERARCHY_INFO;
425445

426-
#define SMBIOS_MAX_STRING_SIZE (1024)
427-
428446
/** A structure that describes the Cache Type Structure (Type 1) in PPTT
429447
430448
ID: EArchCommonObjCacheInfo

0 commit comments

Comments
 (0)