Skip to content

Commit

Permalink
ACPICA: Add PRMT module header to facilitate parsing
Browse files Browse the repository at this point in the history
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: acpica/acpica@bd46cb07
Signed-off-by: Erik Kaneda <[email protected]>
Signed-off-by: Bob Moore <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
Erik Kaneda authored and rafaeljw committed Jun 10, 2021
1 parent 24fa169 commit 9f8c7ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/acpi/actbl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9f8c7ba

Please sign in to comment.