[09/14] ACPICA: iASL: Add support for the BDAT ACPI table

Message ID 20210604212608.2604267-10-erik.kaneda@intel.com
State New
Headers show
Series
  • [01/14] ACPICA: ACPI 6.4: MADT: add Multiprocessor Wakeup Mailbox Structure
Related show

Commit Message

Erik Kaneda June 4, 2021, 9:26 p.m.
From: Bob Moore <robert.moore@intel.com>

Includes: Table compiler, disassembler, and template generator.

ACPICA commit 81eb9c383e6dee0f1b6620e91e5c3dbb48234831

Link: https://github.com/acpica/acpica/commit/81eb9c38
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 include/acpi/actbl2.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Patch

diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index f1d5e8950527..68a607961b2f 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -24,6 +24,7 @@ 
  * file. Useful because they make it more difficult to inadvertently type in
  * the wrong signature.
  */
+#define ACPI_SIG_BDAT           "BDAT"	/* BIOS Data ACPI Table */
 #define ACPI_SIG_IORT           "IORT"	/* IO Remapping Table */
 #define ACPI_SIG_IVRS           "IVRS"	/* I/O Virtualization Reporting Structure */
 #define ACPI_SIG_LPIT           "LPIT"	/* Low Power Idle Table */
@@ -65,6 +66,20 @@ 
  * See http://stackoverflow.com/a/1053662/41661
  */
 
+/*******************************************************************************
+ *
+ * BDAT - BIOS Data ACPI Table
+ *
+ * Conforms to "BIOS Data ACPI Table", Interface Specification v4.0 Draft 5
+ * Nov 2020
+ *
+ ******************************************************************************/
+
+struct acpi_table_bdat {
+	struct acpi_table_header header;
+	struct acpi_generic_address gas;
+};
+
 /*******************************************************************************
  *
  * IORT - IO Remapping Table