Support for ACPI 2.0 method SyncLevel

date	2001.02.14.21.30.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:21:04 +00:00
parent b4489d2842
commit 4acd504d80

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: amcreate - Named object creation
* $Revision: 1.53 $
* $Revision: 1.54 $
*
*****************************************************************************/
@ -852,15 +852,15 @@ AcpiAmlExecCreateMethod (
/*
* Get the concurrency count. If required, a semaphore will be
* created for this method when it is parsed.
*
* TBD: [Future] for APCI 2.0, there will be a SyncLevel value, not
* just a flag
* Concurrency = SyncLevel + 1;.
*/
if (MethodFlags & METHOD_FLAGS_SERIALIZED)
{
ObjDesc->Method.Concurrency = 1;
/*
* ACPI 1.0: Concurrency = 1
* ACPI 2.0: Concurrency = (SyncLevel (in method declaration) + 1)
*/
ObjDesc->Method.Concurrency = (UINT8)
(((MethodFlags & METHOD_FLAGS_SYNCH_LEVEL) >> 4) + 1);
}
else