DynamicTablesPkg: add ArchCommonObjTpm2DeviceInfo

To generate SSDT for TPM2 device using DynamicTablePkg,
add TPM2 Device information

Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
This commit is contained in:
Levi Yun
2025-07-28 15:58:55 +01:00
committed by mergify[bot]
parent 47e818016a
commit faeedaa54b

View File

@@ -71,6 +71,7 @@ typedef enum ArchCommonObjectID {
EArchCommonObjMemoryLatBwInfo, ///< 43 - Memory Latency Bandwidth Info
EArchCommonObjMemoryCacheInfo, ///< 44 - Memory Cache Info
EArchCommonObjSpcrInfo, ///< 45 - Serial Terminal and Interrupt Info
EArchCommonObjTpm2DeviceInfo, ///< 46 - TPM2 Device Info
EArchCommonObjMax
} EARCH_COMMON_OBJECT_ID;
@@ -724,6 +725,18 @@ typedef struct CmArchCommonTpm2InterfaceInfo {
UINT64 Lasa;
} CM_ARCH_COMMON_TPM2_INTERFACE_INFO;
/** A structure that describes TPM2 device.
ID: EArchCommonObjTpm2DeviceInfo
*/
typedef struct CmArchCommonTpm2DeviceInfo {
/** TPM2 Device's Base Address */
UINT64 Tpm2DeviceBaseAddress;
/** TPM2 Device' Size */
UINT64 Tpm2DeviceSize;
} CM_ARCH_COMMON_TPM2_DEVICE_INFO;
/** A structure that describes the
SPMI (Service Processor Management Interface) Info.