Renamed Osd interfaces, renamed header files

date	2000.06.23.21.47.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:20:40 +00:00
parent 9873bfb871
commit 2117bd6e83
2 changed files with 299 additions and 290 deletions

View File

@ -539,7 +539,9 @@ AcpiAmlExecCreateEvent (
/* Create the actual OS semaphore */
Status = AcpiOsdCreateSemaphore (1, &ObjDesc->Event.Semaphore);
/* TBD: [Investigate] should be created with 0 or 1 units? */
Status = AcpiOsCreateSemaphore (ACPI_NO_UNIT_LIMIT, 1, &ObjDesc->Event.Semaphore);
if (ACPI_FAILURE (Status))
{
AcpiCmRemoveReference (ObjDesc);
@ -551,7 +553,7 @@ AcpiAmlExecCreateEvent (
Status = AcpiNsAttachObject (AcpiDsObjStackGetValue (0, WalkState), ObjDesc, (UINT8) ACPI_TYPE_EVENT);
if (ACPI_FAILURE (Status))
{
AcpiOsdDeleteSemaphore (ObjDesc->Event.Semaphore);
AcpiOsDeleteSemaphore (ObjDesc->Event.Semaphore);
AcpiCmRemoveReference (ObjDesc);
goto Cleanup;
}
@ -607,7 +609,7 @@ AcpiAmlExecCreateMutex (
/* Create the actual OS semaphore */
Status = AcpiOsdCreateSemaphore (1, &ObjDesc->Mutex.Semaphore);
Status = AcpiOsCreateSemaphore (1, 1, &ObjDesc->Mutex.Semaphore);
if (ACPI_FAILURE (Status))
{
AcpiCmRemoveReference (ObjDesc);
@ -622,7 +624,7 @@ AcpiAmlExecCreateMutex (
ObjDesc, (UINT8) ACPI_TYPE_MUTEX);
if (ACPI_FAILURE (Status))
{
AcpiOsdDeleteSemaphore (ObjDesc->Mutex.Semaphore);
AcpiOsDeleteSemaphore (ObjDesc->Mutex.Semaphore);
AcpiCmRemoveReference (ObjDesc);
goto Cleanup;
}

File diff suppressed because it is too large Load Diff