mirror of
https://github.com/acpica/acpica/
synced 2025-02-23 17:04:21 +03:00
Merge pull request #507 from SchmErik/disasm-iort-fix
Disassembler: IORT: fix output of optional padding field
This commit is contained in:
commit
ba04ee3db1
@ -187,6 +187,7 @@ AcpiDmDumpIort (
|
||||
ACPI_DMTABLE_INFO *InfoTable;
|
||||
char *String;
|
||||
UINT32 i;
|
||||
UINT32 MappingByteLength;
|
||||
|
||||
|
||||
/* Main table */
|
||||
@ -330,8 +331,10 @@ AcpiDmDumpIort (
|
||||
|
||||
if (IortNode->Length > NodeOffset)
|
||||
{
|
||||
MappingByteLength =
|
||||
IortNode->MappingCount * sizeof (ACPI_IORT_ID_MAPPING);
|
||||
Status = AcpiDmDumpTable (Table->Length, Offset + NodeOffset,
|
||||
Table, IortNode->Length - NodeOffset,
|
||||
Table, IortNode->Length - NodeOffset - MappingByteLength,
|
||||
AcpiDmTableInfoIort1a);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user