Skip to content

Commit 67f9d69

Browse files
aeglrafaeljw
authored andcommitted
ACPICA: infrastructure: Add new header and ACPI_DMT_BUF26 types
ACPICA commit 52840d3826bd7e183fcb555e044e190aea0b5021 New MRRM tables can have subtables that are larger than 255 bytes. Add a new header typedef that uses u16 for Length. Could be backported to acpi_aspt_header, struct acpi_dmar_header, struct acpi_nfit_header, struct acpi_prmt_module_header, struct acpi_prmt_module_info. Will be used for upcoming ERDT table. MRRM table has a 26-byte reserved section in header. Add ACPI_DMT_BUF26 to describe this in struct acpi_dmtable_info. Link: acpica/acpica@52840d38 Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent f61c394 commit 67f9d69

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/acpi/actbl1.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,13 @@ struct acpi_aspt_acpi_mbox_regs {
155155
u64 reserved2[2];
156156
};
157157

158+
/* Larger subtable header (when Length can exceed 255) */
159+
160+
struct acpi_subtable_header_16 {
161+
u16 type;
162+
u16 length;
163+
};
164+
158165
/*******************************************************************************
159166
*
160167
* ASF - Alert Standard Format table (Signature "ASF!")

0 commit comments

Comments
 (0)