ACPICA: iASL: adding definition and disassembly for TPM2 revision 3
authorErik Schmauss <erik.schmauss@intel.com>
Mon, 5 Nov 2018 17:43:53 +0000 (09:43 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 8 Nov 2018 17:41:47 +0000 (18:41 +0100)
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/actbl3.h

index 501f341d1d922e0b6242aff049c1f8f4b3fb5eca..ea1ca49c9c1b3fef2fab92d09cd6089f773bdca4 100644 (file)
@@ -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;