summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2022-03-15 14:19:30 -0700
committerRobert Moore <Robert.Moore@intel.com>2022-03-15 14:19:30 -0700
commit994ac6f6ed6ef721a4acf86c75d7a12777731c1a (patch)
tree401f3b96fd57e0ae6c1929d0a47ebcaeaed32a2b
parent0914618b553d6f3366e568409cebf2656891ca69 (diff)
downloadacpica-994ac6f6ed6ef721a4acf86c75d7a12777731c1a.tar.gz
iASL: Fix for SDEV table - subtable length
Subtable lengths were not being set correctly during the compile. Added the DT_LENGTH flag to the SDEV subtable header to force the compiler to insert the subtable length.
-rw-r--r--source/common/dmtbinfo2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/common/dmtbinfo2.c b/source/common/dmtbinfo2.c
index aa4de68a4..317b9cc29 100644
--- a/source/common/dmtbinfo2.c
+++ b/source/common/dmtbinfo2.c
@@ -1986,7 +1986,7 @@ ACPI_DMTABLE_INFO AcpiDmTableInfoSdevHdr[] =
{ACPI_DMT_UINT8, ACPI_SDEVH_OFFSET (Flags), "Flags (decoded below)", 0},
{ACPI_DMT_FLAG0, ACPI_SDEVH_FLAG_OFFSET (Flags,0), "Allow handoff to unsecure OS", 0},
{ACPI_DMT_FLAG1, ACPI_SDEVH_FLAG_OFFSET (Flags,0), "Secure access components present", 0},
- {ACPI_DMT_UINT16, ACPI_SDEVH_OFFSET (Length), "Length", 0},
+ {ACPI_DMT_UINT16, ACPI_SDEVH_OFFSET (Length), "Length", DT_LENGTH},
ACPI_DMT_TERMINATOR
};