mirror of
https://github.com/acpica/acpica/
synced 2025-02-25 18:04:08 +03:00
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:
parent
35bcda4be0
commit
a33265bc7c
@ -480,7 +480,14 @@ AcpiExLoadOp (
|
|||||||
goto Cleanup;
|
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))
|
if (ACPI_FAILURE (Status))
|
||||||
{
|
{
|
||||||
/* On error, TablePtr was deallocated above */
|
/* On error, TablePtr was deallocated above */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user