summaryrefslogtreecommitdiff
path: root/source/common/adisasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/common/adisasm.c')
-rw-r--r--source/common/adisasm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/common/adisasm.c b/source/common/adisasm.c
index 1fe6e06837ac7..839bafecab305 100644
--- a/source/common/adisasm.c
+++ b/source/common/adisasm.c
@@ -187,6 +187,7 @@ AdInitialize (
AcpiGbl_RootTableList.CurrentTableCount = 0;
AcpiGbl_RootTableList.Tables = LocalTables;
+ AcpiGbl_PreviousOp = NULL;
return (Status);
}
@@ -796,8 +797,8 @@ AdStoreTable (
AcpiTbInitTableDescriptor (TableDesc, ACPI_PTR_TO_PHYSADDR (Table),
ACPI_TABLE_ORIGIN_INTERNAL_VIRTUAL, Table);
- AcpiTbValidateTable (TableDesc);
- return (AE_OK);
+ Status = AcpiTbValidateTable (TableDesc);
+ return (Status);
}
@@ -892,7 +893,7 @@ AdParseTable (
/* Create the root object */
- AcpiGbl_ParseOpRoot = AcpiPsCreateScopeOp ();
+ AcpiGbl_ParseOpRoot = AcpiPsCreateScopeOp (AmlStart);
if (!AcpiGbl_ParseOpRoot)
{
return (AE_NO_MEMORY);