Full support for ASL Mutex SyncLevel semantics and "ForceRelease" on

interpreter exit of all owned mutexes.


date	2001.02.16.18.30.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:13:21 +00:00
parent 573acc7d44
commit 05e4b54e47

View File

@ -1,7 +1,7 @@
/****************************************************************************** /******************************************************************************
* *
* Module Name: pswalk - Parser routines to walk parsed op tree(s) * Module Name: pswalk - Parser routines to walk parsed op tree(s)
* $Revision: 1.51 $ * $Revision: 1.53 $
* *
*****************************************************************************/ *****************************************************************************/
@ -9,7 +9,7 @@
* *
* 1. Copyright Notice * 1. Copyright Notice
* *
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
* All rights reserved. * All rights reserved.
* *
* 2. License * 2. License
@ -349,6 +349,9 @@ AcpiPsDeleteParseTree (
/* Create and initialize a new walk list */ /* Create and initialize a new walk list */
WalkList.WalkState = NULL; WalkList.WalkState = NULL;
WalkList.AcquiredMutexList.Prev = NULL;
WalkList.AcquiredMutexList.Next = NULL;
WalkState = AcpiDsCreateWalkState (TABLE_ID_DSDT, NULL, NULL, &WalkList); WalkState = AcpiDsCreateWalkState (TABLE_ID_DSDT, NULL, NULL, &WalkList);
if (!WalkState) if (!WalkState)
{ {
@ -379,6 +382,7 @@ AcpiPsDeleteParseTree (
/* We are done with this walk */ /* We are done with this walk */
AcpiAmlReleaseAllMutexes ((ACPI_OPERAND_OBJECT *) &WalkList.AcquiredMutexList);
AcpiDsDeleteWalkState (WalkState); AcpiDsDeleteWalkState (WalkState);
return_VOID; return_VOID;