summaryrefslogtreecommitdiffstats
path: root/include/acpi/actbl2.h
diff options
context:
space:
mode:
authorErik Kaneda <erik.kaneda@intel.com>2021-06-10 05:41:51 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-06-10 15:04:22 +0200
commit9f8c7baedabc9693fbd7890f8fda40578bde4f73 (patch)
tree3eeed6ee47e4b2d77a02f9602fb8890b76986fc1 /include/acpi/actbl2.h
parentACPICA: Update version to 20210604 (diff)
downloadlinux-9f8c7baedabc9693fbd7890f8fda40578bde4f73.tar.xz
linux-9f8c7baedabc9693fbd7890f8fda40578bde4f73.zip
ACPICA: Add PRMT module header to facilitate parsing
ACPICA commit bd46cb07e614fd85ea69e54c1f6f0ae0a5fb20ab This structure is used in to parse PRMT in other Operating Systems that relies on using subtable headers in order to parse ACPI tables. Although the PRMT doesn't have "subtables" it has a list of module information structures that act as subtables. Link: https://github.com/acpica/acpica/commit/bd46cb07 Signed-off-by: Erik Kaneda <erik.kaneda@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/actbl2.h')
-rw-r--r--include/acpi/actbl2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index 05b086d4d94a..2069ac38a4e2 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -1728,6 +1728,11 @@ struct acpi_table_prmt_header {
u32 module_info_count;
};
+struct acpi_prmt_module_header {
+ u16 revision;
+ u16 length;
+};
+
struct acpi_prmt_module_info {
u16 revision;
u16 length;