diff options
author | Erik Schmauss <erik.schmauss@intel.com> | 2018-11-05 09:43:53 -0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-11-08 18:41:47 +0100 |
commit | c159597ca9233b58be0327f3379eba598a6697ef (patch) | |
tree | 04b3447718977e3e45ed5a79cc0715cf9b8672b3 | |
parent | f8ddf49b420112e28bdd23d7ad52d7991a0ccbe3 (diff) | |
download | linux-c159597ca9233b58be0327f3379eba598a6697ef.tar.bz2 |
ACPICA: iASL: adding definition and disassembly for TPM2 revision 3
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | include/acpi/actbl3.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/acpi/actbl3.h b/include/acpi/actbl3.h index 501f341d1d92..ea1ca49c9c1b 100644 --- a/include/acpi/actbl3.h +++ b/include/acpi/actbl3.h @@ -365,6 +365,29 @@ struct acpi_table_tcpa_server { * ******************************************************************************/ +/* Revision 3 */ + +struct acpi_table_tpm23 { + struct acpi_table_header header; /* Common ACPI table header */ + u32 reserved; + u64 control_address; + u32 start_method; +}; + +/* Value for start_method above */ + +#define ACPI_TPM23_ACPI_START_METHOD 2 + +/* + * Optional trailer for revision 3. If start method is 2, there is a 4 byte + * reserved area of all zeros. + */ +struct acpi_tmp23_trailer { + u32 reserved; +}; + +/* Revision 4 */ + struct acpi_table_tpm2 { struct acpi_table_header header; /* Common ACPI table header */ u16 platform_class; |