Skip to content

Commit 6c558bb

Browse files
DynamicTablesPkg: Smbios Cache Information (Type 7)
Signed-off-by: Sarah Walker <[email protected]>
1 parent 893fb28 commit 6c558bb

File tree

4 files changed

+805
-0
lines changed

4 files changed

+805
-0
lines changed

DynamicTablesPkg/DynamicTables.dsc.inc

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

96+
DynamicTablesPkg/Library/Smbios/SmbiosType7Lib/SmbiosType7Lib.inf
97+
9698
# AML Fixup (Arm specific)
9799
DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600LibArm.inf
98100

@@ -128,5 +130,7 @@
128130
# Common
129131
NULL|DynamicTablesPkg/Library/Acpi/Common/AcpiSsdtCpuTopologyLib/SsdtCpuTopologyLib.inf
130132
NULL|DynamicTablesPkg/Library/Acpi/Common/AcpiSsdtPcieLib/SsdtPcieLib.inf
133+
134+
NULL|DynamicTablesPkg/Library/Smbios/SmbiosType7Lib/SmbiosType7Lib.inf
131135
}
132136

DynamicTablesPkg/Include/ArchCommonNameSpaceObjects.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@ typedef struct CmArchCommonProcHierarchyInfo {
423423
UINT32 OverrideUid;
424424
} CM_ARCH_COMMON_PROC_HIERARCHY_INFO;
425425

426+
#define SMBIOS_MAX_STRING_SIZE (1024)
427+
426428
/** A structure that describes the Cache Type Structure (Type 1) in PPTT
427429
428430
ID: EArchCommonObjCacheInfo
@@ -451,6 +453,10 @@ typedef struct CmArchCommonCacheInfo {
451453
UINT16 LineSize;
452454
/// Unique ID for the cache
453455
UINT32 CacheId;
456+
/// SMBIOS: Level of cache within the processor hierarchy
457+
UINT32 Level;
458+
/// SMBIOS: Designation of this cache on this socket
459+
CHAR8 SocketDesignation[SMBIOS_MAX_STRING_SIZE];
454460
} CM_ARCH_COMMON_CACHE_INFO;
455461

456462
/** A structure that describes the Cpc information.

0 commit comments

Comments
 (0)