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:
aystarik 2005-06-29 18:30:57 +00:00
parent 0f3a390dc7
commit 97d50d3150

View File

@ -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