diff options
author | Robert Moore <Robert.Moore@intel.com> | 2015-06-15 13:20:47 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2015-06-15 13:20:47 -0700 |
commit | 254bf77e7ca01cb27e026fa5737f7df8dae03f2c (patch) | |
tree | 66ed375d37c75576ae0b2bd219f236c7d606ba6a | |
parent | 17589d4560017332970dcb0e2a7101bc591d3b81 (diff) | |
download | acpica-254bf77e7ca01cb27e026fa5737f7df8dae03f2c.tar.gz |
Update TPM2 ACPI table.
- Add constans for the StartMethod.
- Remove the control structure, not part of ACPI, not defined in the current
TCG spec.
-rw-r--r-- | source/include/actbl2.h | 20 |
1 files 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 /******************************************************************************* |