From 05e4b54e4736c29869e4b1c4aac826f0122b8720 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 18:13:21 +0000 Subject: [PATCH] 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; --- source/components/parser/pswalk.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/components/parser/pswalk.c b/source/components/parser/pswalk.c index 82fc0615e..fe279c421 100644 --- a/source/components/parser/pswalk.c +++ b/source/components/parser/pswalk.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: pswalk - Parser routines to walk parsed op tree(s) - * $Revision: 1.51 $ + * $Revision: 1.53 $ * *****************************************************************************/ @@ -9,7 +9,7 @@ * * 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. * * 2. License @@ -349,6 +349,9 @@ AcpiPsDeleteParseTree ( /* Create and initialize a new walk list */ WalkList.WalkState = NULL; + WalkList.AcquiredMutexList.Prev = NULL; + WalkList.AcquiredMutexList.Next = NULL; + WalkState = AcpiDsCreateWalkState (TABLE_ID_DSDT, NULL, NULL, &WalkList); if (!WalkState) { @@ -379,6 +382,7 @@ AcpiPsDeleteParseTree ( /* We are done with this walk */ + AcpiAmlReleaseAllMutexes ((ACPI_OPERAND_OBJECT *) &WalkList.AcquiredMutexList); AcpiDsDeleteWalkState (WalkState); return_VOID;