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:
@@ -71,6 +71,7 @@ typedef enum ArchCommonObjectID {
|
|||||||
EArchCommonObjMemoryLatBwInfo, ///< 43 - Memory Latency Bandwidth Info
|
EArchCommonObjMemoryLatBwInfo, ///< 43 - Memory Latency Bandwidth Info
|
||||||
EArchCommonObjMemoryCacheInfo, ///< 44 - Memory Cache Info
|
EArchCommonObjMemoryCacheInfo, ///< 44 - Memory Cache Info
|
||||||
EArchCommonObjSpcrInfo, ///< 45 - Serial Terminal and Interrupt Info
|
EArchCommonObjSpcrInfo, ///< 45 - Serial Terminal and Interrupt Info
|
||||||
|
EArchCommonObjTpm2DeviceInfo, ///< 46 - TPM2 Device Info
|
||||||
EArchCommonObjMax
|
EArchCommonObjMax
|
||||||
} EARCH_COMMON_OBJECT_ID;
|
} EARCH_COMMON_OBJECT_ID;
|
||||||
|
|
||||||
@@ -724,6 +725,18 @@ typedef struct CmArchCommonTpm2InterfaceInfo {
|
|||||||
UINT64 Lasa;
|
UINT64 Lasa;
|
||||||
} CM_ARCH_COMMON_TPM2_INTERFACE_INFO;
|
} 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
|
/** A structure that describes the
|
||||||
SPMI (Service Processor Management Interface) Info.
|
SPMI (Service Processor Management Interface) Info.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user