mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
MdePkg: UefiTcgPlatform.h: Add UEFI_VARIABLE_DATA
Add UEFI_VARIABLE_DATA according to TCG PC-Client PFP Spec 00.21. http://www.trustedcomputinggroup.org/wp-content/uploads/PC-ClientSpecific_Platform_Profile_for_TPM_2p0_Systems_v21.pdf Cc: Star Zeng <star.zeng@intel.com> Cc: Yao Jiewen <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang <chao.b.zhang@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
This commit is contained in:
parent
5734d486b6
commit
4994588211
@ -151,6 +151,7 @@ typedef struct tdEFI_HANDOFF_TABLE_POINTERS {
|
|||||||
/// This structure serves as the header for measuring variables. The name of the
|
/// This structure serves as the header for measuring variables. The name of the
|
||||||
/// variable (in Unicode format) should immediately follow, then the variable
|
/// variable (in Unicode format) should immediately follow, then the variable
|
||||||
/// data.
|
/// data.
|
||||||
|
/// This is defined in TCG EFI Platform Spec for TPM1.1 or 1.2 V1.22
|
||||||
///
|
///
|
||||||
typedef struct tdEFI_VARIABLE_DATA {
|
typedef struct tdEFI_VARIABLE_DATA {
|
||||||
EFI_GUID VariableName;
|
EFI_GUID VariableName;
|
||||||
@ -160,6 +161,22 @@ typedef struct tdEFI_VARIABLE_DATA {
|
|||||||
INT8 VariableData[1]; ///< Driver or platform-specific data
|
INT8 VariableData[1]; ///< Driver or platform-specific data
|
||||||
} EFI_VARIABLE_DATA;
|
} EFI_VARIABLE_DATA;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// UEFI_VARIABLE_DATA
|
||||||
|
///
|
||||||
|
/// This structure serves as the header for measuring variables. The name of the
|
||||||
|
/// variable (in Unicode format) should immediately follow, then the variable
|
||||||
|
/// data.
|
||||||
|
/// This is defined in TCG PC Client Firmware Profile Spec 00.21
|
||||||
|
///
|
||||||
|
typedef struct tdUEFI_VARIABLE_DATA {
|
||||||
|
EFI_GUID VariableName;
|
||||||
|
UINT64 UnicodeNameLength;
|
||||||
|
UINT64 VariableDataLength;
|
||||||
|
CHAR16 UnicodeName[1];
|
||||||
|
INT8 VariableData[1]; ///< Driver or platform-specific data
|
||||||
|
} UEFI_VARIABLE_DATA;
|
||||||
|
|
||||||
//
|
//
|
||||||
// For TrEE1.0 compatibility
|
// For TrEE1.0 compatibility
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user