mirror of
https://github.com/acpica/acpica/
synced 2025-02-21 07:54:32 +03:00
At least rudementary OpRegion support working after restructure of
address handler's and associated code. date 99.09.08.16.45.00; author rmosgrov; state Exp;
This commit is contained in:
parent
0f3a390dc7
commit
97d50d3150
@ -157,7 +157,7 @@ NsAttachObject (
|
||||
FUNCTION_TRACE ("NsAttachObject");
|
||||
|
||||
|
||||
if (!RootObject->Scope)
|
||||
if (!Gbl_RootObject->Scope)
|
||||
{
|
||||
/* Name space not initialized */
|
||||
|
||||
@ -181,7 +181,8 @@ NsAttachObject (
|
||||
return_ACPI_STATUS (AE_BAD_PARAMETER);
|
||||
}
|
||||
|
||||
if (!IS_NS_HANDLE (handle))
|
||||
if (!IS_NS_HANDLE (handle) &&
|
||||
(ThisEntry != Gbl_RootObject))
|
||||
{
|
||||
/* Not a name handle */
|
||||
|
||||
@ -400,7 +401,7 @@ NsAttachMethod (
|
||||
|
||||
/* Parameter validation */
|
||||
|
||||
if (!RootObject->Scope)
|
||||
if (!Gbl_RootObject->Scope)
|
||||
{
|
||||
/* Name space uninitialized */
|
||||
|
||||
@ -651,7 +652,7 @@ NsFindAttachedObject (
|
||||
return_VALUE (NULL);
|
||||
}
|
||||
|
||||
if (!RootObject->Scope)
|
||||
if (!Gbl_RootObject->Scope)
|
||||
{
|
||||
/*
|
||||
* If the name space has not been initialized,
|
||||
@ -662,7 +663,7 @@ NsFindAttachedObject (
|
||||
|
||||
if (NS_ALL == StartHandle)
|
||||
{
|
||||
StartHandle = RootObject;
|
||||
StartHandle = Gbl_RootObject;
|
||||
}
|
||||
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user