From 254bf77e7ca01cb27e026fa5737f7df8dae03f2c Mon Sep 17 00:00:00 2001 From: Robert Moore Date: Mon, 15 Jun 2015 13:20:47 -0700 Subject: Update TPM2 ACPI table. - Add constans for the StartMethod. - Remove the control structure, not part of ACPI, not defined in the current TCG spec. --- source/include/actbl2.h | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/source/include/actbl2.h b/source/include/actbl2.h index 109870b54..c838959be 100644 --- a/source/include/actbl2.h +++ b/source/include/actbl2.h @@ -1519,21 +1519,13 @@ typedef struct acpi_table_tpm2 } ACPI_TABLE_TPM2; -/* Control area structure (not part of table, pointed to by ControlAddress) */ +/* Values for StartMethod above */ -typedef struct acpi_tpm2_control -{ - UINT32 Reserved; - UINT32 Error; - UINT32 Cancel; - UINT32 Start; - UINT64 InterruptControl; - UINT32 CommandSize; - UINT64 CommandAddress; - UINT32 ResponseSize; - UINT64 ResponseAddress; - -} ACPI_TPM2_CONTROL; +#define ACPI_TPM2_NOT_ALLOWED 0 +#define ACPI_TPM2_START_METHOD 2 +#define ACPI_TPM2_MEMORY_MAPPED 6 +#define ACPI_TPM2_COMMAND_BUFFER 7 +#define ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD 8 /******************************************************************************* -- cgit v1.2.1