diff options
Diffstat (limited to 'MdePkg/Include/IndustryStandard/Tpm2Acpi.h')
-rw-r--r-- | MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h index 946bc7dab7..e7d14f9d2e 100644 --- a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h +++ b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h @@ -19,34 +19,34 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define EFI_TPM2_ACPI_TABLE_REVISION EFI_TPM2_ACPI_TABLE_REVISION_4
typedef struct {
- EFI_ACPI_DESCRIPTION_HEADER Header;
+ EFI_ACPI_DESCRIPTION_HEADER Header;
// Flags field is replaced in version 4 and above
// BIT0~15: PlatformClass This field is only valid for version 4 and above
// BIT16~31: Reserved
- UINT32 Flags;
- UINT64 AddressOfControlArea;
- UINT32 StartMethod;
-//UINT8 PlatformSpecificParameters[]; // size up to 12
-//UINT32 Laml; // Optional
-//UINT64 Lasa; // Optional
+ UINT32 Flags;
+ UINT64 AddressOfControlArea;
+ UINT32 StartMethod;
+ // UINT8 PlatformSpecificParameters[]; // size up to 12
+ // UINT32 Laml; // Optional
+ // UINT64 Lasa; // Optional
} EFI_TPM2_ACPI_TABLE;
-#define EFI_TPM2_ACPI_TABLE_START_METHOD_ACPI 2
-#define EFI_TPM2_ACPI_TABLE_START_METHOD_TIS 6
-#define EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_INTERFACE 7
-#define EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_INTERFACE_WITH_ACPI 8
-#define EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_INTERFACE_WITH_SMC 11
+#define EFI_TPM2_ACPI_TABLE_START_METHOD_ACPI 2
+#define EFI_TPM2_ACPI_TABLE_START_METHOD_TIS 6
+#define EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_INTERFACE 7
+#define EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_INTERFACE_WITH_ACPI 8
+#define EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_INTERFACE_WITH_SMC 11
typedef struct {
- UINT32 Reserved;
- UINT32 Error;
- UINT32 Cancel;
- UINT32 Start;
- UINT64 InterruptControl;
- UINT32 CommandSize;
- UINT64 Command;
- UINT32 ResponseSize;
- UINT64 Response;
+ UINT32 Reserved;
+ UINT32 Error;
+ UINT32 Cancel;
+ UINT32 Start;
+ UINT64 InterruptControl;
+ UINT32 CommandSize;
+ UINT64 Command;
+ UINT32 ResponseSize;
+ UINT64 Response;
} EFI_TPM2_ACPI_CONTROL_AREA;
//
@@ -54,11 +54,11 @@ typedef struct { // Refer to Table 9: Start Method Specific Parameters for ARM SMC
//
typedef struct {
- UINT32 Interrupt;
- UINT8 Flags;
- UINT8 OperationFlags;
- UINT8 Reserved[2];
- UINT32 SmcFunctionId;
+ UINT32 Interrupt;
+ UINT8 Flags;
+ UINT8 OperationFlags;
+ UINT8 Reserved[2];
+ UINT32 SmcFunctionId;
} EFI_TPM2_ACPI_START_METHOD_SPECIFIC_PARAMETERS_ARM_SMC;
#pragma pack ()
|