Commit 15a61aa1 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki

ACPICA: iASL: Add support for TCPA Server Table

ACPICA commit 55fa9555c71eaa99daebed4cd82cfde3875e8c45

In addition to the existing support for the client table.

Link: https://github.com/acpica/acpica/commit/55fa9555Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 88606a2b
...@@ -1186,20 +1186,29 @@ enum acpi_spmi_interface_types { ...@@ -1186,20 +1186,29 @@ enum acpi_spmi_interface_types {
* December 19, 2014 * December 19, 2014
* *
* NOTE: There are two versions of the table with the same signature -- * NOTE: There are two versions of the table with the same signature --
* the client version and the server version. * the client version and the server version. The common platform_class
* field is used to differentiate the two types of tables.
* *
******************************************************************************/ ******************************************************************************/
struct acpi_table_tcpa_client { struct acpi_table_tcpa_hdr {
struct acpi_table_header header; /* Common ACPI table header */ struct acpi_table_header header; /* Common ACPI table header */
u16 platform_class; u16 platform_class;
};
/*
* Values for platform_class above.
* This is how the client and server subtables are differentiated
*/
#define ACPI_TCPA_CLIENT_TABLE 0
#define ACPI_TCPA_SERVER_TABLE 1
struct acpi_table_tcpa_client {
u32 minimum_log_length; /* Minimum length for the event log area */ u32 minimum_log_length; /* Minimum length for the event log area */
u64 log_address; /* Address of the event log area */ u64 log_address; /* Address of the event log area */
}; };
struct acpi_table_tcpa_server { struct acpi_table_tcpa_server {
struct acpi_table_header header; /* Common ACPI table header */
u16 platform_class;
u16 reserved; u16 reserved;
u64 minimum_log_length; /* Minimum length for the event log area */ u64 minimum_log_length; /* Minimum length for the event log area */
u64 log_address; /* Address of the event log area */ u64 log_address; /* Address of the event log area */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment