mirror of
https://github.com/acpica/acpica/
synced 2025-02-22 16:34:24 +03:00
Disassembler: set integer width for AML indicated by the table revision
By setting the integer width, the disassembler no longer trucates 64- bit integers in AML tables with revision 2 or higher. Reported-by: Elia Geretto <elia.f.geretto@gmail.com> Tested-by: Elia Geretto <elia.f.geretto@gmail.com> Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
This commit is contained in:
parent
3f433b35f0
commit
793c1f3b00
@ -508,6 +508,8 @@ AdParseTable (
|
||||
AmlStart = ((UINT8 *) Table + sizeof (ACPI_TABLE_HEADER));
|
||||
ASL_CV_INIT_FILETREE(Table, AmlStart, AmlLength);
|
||||
|
||||
AcpiUtSetIntegerWidth (Table->Revision);
|
||||
|
||||
/* Create the root object */
|
||||
|
||||
AcpiGbl_ParseOpRoot = AcpiPsCreateScopeOp (AmlStart);
|
||||
|
Loading…
x
Reference in New Issue
Block a user