Skip to content

Commit d71df85

Browse files
Erik Kanedarafaeljw
authored andcommitted
ACPICA: iASL: add disassembler support for PRMT
ACPICA commit f70e7593e37c9e29f19be8ad3ef93f3f34799368 Link: acpica/acpica@f70e7593 Signed-off-by: Erik Kaneda <[email protected]> Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 4a2c1dc commit d71df85

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

include/acpi/actbl2.h

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#define ACPI_SIG_PHAT "PHAT" /* Platform Health Assessment Table */
4141
#define ACPI_SIG_PMTT "PMTT" /* Platform Memory Topology Table */
4242
#define ACPI_SIG_PPTT "PPTT" /* Processor Properties Topology Table */
43+
#define ACPI_SIG_PRMT "PRMT" /* Platform Runtime Mechanism Table */
4344
#define ACPI_SIG_RASF "RASF" /* RAS Feature table */
4445
#define ACPI_SIG_RGRT "RGRT" /* Regulatory Graphics Resource Table */
4546
#define ACPI_SIG_SBST "SBST" /* Smart Battery Specification Table */
@@ -1710,6 +1711,43 @@ struct acpi_pptt_id {
17101711
u16 spin_rev;
17111712
};
17121713

1714+
/*******************************************************************************
1715+
*
1716+
* PRMT - Platform Runtime Mechanism Table
1717+
* Version 1
1718+
*
1719+
******************************************************************************/
1720+
1721+
struct acpi_table_prmt {
1722+
struct acpi_table_header header; /* Common ACPI table header */
1723+
};
1724+
1725+
struct acpi_table_prmt_header {
1726+
u8 platform_guid[16];
1727+
u32 module_info_offset;
1728+
u32 module_info_count;
1729+
};
1730+
1731+
struct acpi_prmt_module_info {
1732+
u16 revision;
1733+
u16 length;
1734+
u8 module_guid[16];
1735+
u16 major_rev;
1736+
u16 minor_rev;
1737+
u16 handler_info_count;
1738+
u32 handler_info_offset;
1739+
u64 mmio_list_pointer;
1740+
};
1741+
1742+
struct acpi_prmt_handler_info {
1743+
u16 revision;
1744+
u16 length;
1745+
u8 handler_guid[16];
1746+
u64 handler_address;
1747+
u64 static_data_buffer_address;
1748+
u64 acpi_param_buffer_address;
1749+
};
1750+
17131751
/*******************************************************************************
17141752
*
17151753
* RASF - RAS Feature Table (ACPI 5.0)

0 commit comments

Comments
 (0)