summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe@linaro.org>2021-02-18 14:16:23 +0100
committerJean-Philippe Brucker <jean-philippe@linaro.org>2021-02-18 18:38:00 +0100
commit716164def4cfc3e568d97f58807dc4466b3d8ea7 (patch)
treefa8f7e90c1542f762e05791c247da0ad9af14999
parentf58e5810c845a2a69ce2a5bc4f352263c16997d4 (diff)
downloadacpica-716164def4cfc3e568d97f58807dc4466b3d8ea7.tar.gz
iASL: Complete VIOT support
Add the glue for the VIOT table. Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
-rw-r--r--source/common/ahtable.c1
-rw-r--r--source/common/dmtable.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/common/ahtable.c b/source/common/ahtable.c
index ac3c416bb..6701d347f 100644
--- a/source/common/ahtable.c
+++ b/source/common/ahtable.c
@@ -251,6 +251,7 @@ const AH_TABLE AcpiGbl_SupportedTables[] =
{ACPI_SIG_TCPA, "Trusted Computing Platform Alliance table"},
{ACPI_SIG_TPM2, "Trusted Platform Module hardware interface table"},
{ACPI_SIG_UEFI, "UEFI Boot Optimization Table"},
+ {ACPI_SIG_VIOT, "Virtual I/O Translation Table"},
{ACPI_SIG_WAET, "Windows ACPI Emulated Devices Table"},
{ACPI_SIG_WDAT, "Watchdog Action Table"},
{ACPI_SIG_WDDT, "Watchdog Description Table"},
diff --git a/source/common/dmtable.c b/source/common/dmtable.c
index 3e4c6c341..14c62379e 100644
--- a/source/common/dmtable.c
+++ b/source/common/dmtable.c
@@ -529,6 +529,7 @@ const ACPI_DMTABLE_DATA AcpiDmTableData[] =
{ACPI_SIG_TCPA, NULL, AcpiDmDumpTcpa, DtCompileTcpa, TemplateTcpa},
{ACPI_SIG_TPM2, AcpiDmTableInfoTpm2, AcpiDmDumpTpm2, DtCompileTpm2, TemplateTpm2},
{ACPI_SIG_UEFI, AcpiDmTableInfoUefi, NULL, DtCompileUefi, TemplateUefi},
+ {ACPI_SIG_VIOT, AcpiDmTableInfoViot, AcpiDmDumpViot, DtCompileViot, TemplateViot},
{ACPI_SIG_WAET, AcpiDmTableInfoWaet, NULL, NULL, TemplateWaet},
{ACPI_SIG_WDAT, NULL, AcpiDmDumpWdat, DtCompileWdat, TemplateWdat},
{ACPI_SIG_WDDT, AcpiDmTableInfoWddt, NULL, NULL, TemplateWddt},