mirror of
https://github.com/acpica/acpica/
synced 2025-01-29 04:35:15 +03:00
Namespace entries now deleted at a lower level
date 2000.05.08.16.02.00; author rmoore1; state Exp;
This commit is contained in:
parent
a7e87b5314
commit
6ae5bb727f
@ -500,26 +500,12 @@ NsExecuteControlMethod (
|
||||
|
||||
|
||||
/* TBD: Should we unlock the namespace during control method execution ? */
|
||||
|
||||
/*
|
||||
* Excecute the method via the interpreter
|
||||
*/
|
||||
Status = AmlExecuteMethod (MethodEntry, Params, ReturnObjDesc);
|
||||
|
||||
/*
|
||||
* Cleanup. We must delete everything in the namespace that was created by
|
||||
* the execution of this method.
|
||||
*/
|
||||
|
||||
/* TBD: what about called methods? */
|
||||
|
||||
if (MethodEntry->Scope)
|
||||
{
|
||||
CmReleaseMutex (MTX_NAMESPACE);
|
||||
NsDeleteNamespaceSubtree (MethodEntry);
|
||||
NsDeleteNamespaceByOwner (ObjDesc->Method.OwningId);
|
||||
CmAcquireMutex (MTX_NAMESPACE);
|
||||
}
|
||||
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user