mirror of
https://github.com/acpica/acpica/
synced 2025-03-01 20:01:33 +03:00
Create an event with no semaphore units -- unsignalled.
date 2001.11.16.23.46.00; author rmoore1; state Exp;
This commit is contained in:
parent
759fb1b140
commit
98139bf05b
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: excreate - Named object creation
|
||||
* $Revision: 1.78 $
|
||||
* $Revision: 1.79 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -208,11 +208,11 @@ AcpiExCreateEvent (
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
/* Create the actual OS semaphore */
|
||||
|
||||
/* TBD: [Investigate] should be created with 0 or 1 units? */
|
||||
|
||||
Status = AcpiOsCreateSemaphore (ACPI_NO_UNIT_LIMIT, 1,
|
||||
/*
|
||||
* Create the actual OS semaphore, with zero initial units -- meaning
|
||||
* that the event is created in an unsignalled state
|
||||
*/
|
||||
Status = AcpiOsCreateSemaphore (ACPI_NO_UNIT_LIMIT, 0,
|
||||
&ObjDesc->Event.Semaphore);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user