Fix for Load operator, load table at the namespace root.

This reverts a change introduced in version 20071019. The table is now loaded
at the namespace root even though this goes against the ACPI specification.
This provides compatibility with other ACPI implementations.
This commit is contained in:
Robert Moore 2008-05-13 13:07:13 -07:00
parent 35bcda4be0
commit a33265bc7c

View File

@ -480,7 +480,14 @@ AcpiExLoadOp (
goto Cleanup;
}
Status = AcpiExAddTable (TableIndex, WalkState->ScopeInfo->Scope.Node, &DdbHandle);
/*
* Add the table to the namespace.
*
* Note: We load the table objects relative to the root of the namespace.
* This appears to go against the ACPI specification, but we do it for
* compatibility with other ACPI implementations.
*/
Status = AcpiExAddTable (TableIndex, AcpiGbl_RootNode, &DdbHandle);
if (ACPI_FAILURE (Status))
{
/* On error, TablePtr was deallocated above */