mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ACPICA: Tables: Add WSMT support
ACPICA commit 4f12387029c6a561e7792f53caf2e7f1f0ab2bbe
This patch adds WSMT support, the table can be found at Line [#1].
The support includes table structure definitions (ACPICA tables) and
assembly/disassembly (iasl) support. Lv Zheng.
Link: 4f123870
Link: https://msdn.microsoft.com/windows/hardware/drivers/bringup/acpi-system-description-tables#wsmt [1]
Signed-off-by: Lv Zheng <[email protected]>
Signed-off-by: Bob Moore <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
05c3507cec
commit
e6ab3b776d
1 changed files with 22 additions and 0 deletions
|
|
@ -87,6 +87,7 @@
|
|||
#define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */
|
||||
#define ACPI_SIG_WDDT "WDDT" /* Watchdog Timer Description Table */
|
||||
#define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */
|
||||
#define ACPI_SIG_WSMT "WSMT" /* Windows SMM Security Migrations Table */
|
||||
#define ACPI_SIG_XXXX "XXXX" /* Intermediate AML header for ASL/ASL+ converter */
|
||||
|
||||
#ifdef ACPI_UNDEFINED_TABLES
|
||||
|
|
@ -1498,6 +1499,27 @@ struct acpi_table_wdrt {
|
|||
u8 units;
|
||||
};
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* WSMT - Windows SMM Security Migrations Table
|
||||
* Version 1
|
||||
*
|
||||
* Conforms to "Windows SMM Security Migrations Table",
|
||||
* Version 1.0, April 18, 2016
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
struct acpi_table_wsmt {
|
||||
struct acpi_table_header header; /* Common ACPI table header */
|
||||
u32 protection_flags;
|
||||
};
|
||||
|
||||
/* Flags for protection_flags field above */
|
||||
|
||||
#define ACPI_WSMT_FIXED_COMM_BUFFERS (1)
|
||||
#define ACPI_WSMT_COMM_BUFFER_NESTED_PTR_PROTECTION (2)
|
||||
#define ACPI_WSMT_SYSTEM_RESOURCE_PROTECTION (4)
|
||||
|
||||
/* Reset to default packing */
|
||||
|
||||
#pragma pack()
|
||||
|
|
|
|||
Loading…
Reference in a new issue