mirror of
https://github.com/acpica/acpica/
synced 2025-03-14 02:02:52 +03:00
Fix to allow mutex OwnerId to also indicate "not owned" state.
date 2001.04.09.22.38.00; author rmoore1; state Exp;
This commit is contained in:
parent
e8f4e23d82
commit
20cebae62d
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: aclocal.h - Internal data types used across the ACPI subsystem
|
||||
* $Revision: 1.112 $
|
||||
* $Revision: 1.114 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -188,7 +188,7 @@ static NATIVE_CHAR *AcpiGbl_MutexNames[] =
|
||||
"ACPI_MTX_Hardware",
|
||||
"ACPI_MTX_Caches",
|
||||
"ACPI_MTX_Memory",
|
||||
"ACPI_MTX_DebugCmdComplete"
|
||||
"ACPI_MTX_DebugCmdComplete",
|
||||
"ACPI_MTX_DebugCmdReady",
|
||||
};
|
||||
|
||||
@ -203,10 +203,13 @@ typedef struct AcpiMutexInfo
|
||||
ACPI_MUTEX Mutex;
|
||||
UINT32 UseCount;
|
||||
UINT32 OwnerId;
|
||||
BOOLEAN Locked;
|
||||
|
||||
} ACPI_MUTEX_INFO;
|
||||
|
||||
/* This owner ID means that the mutex is not in use (unlocked) */
|
||||
|
||||
#define ACPI_MUTEX_NOT_ACQUIRED (UINT32) (-1)
|
||||
|
||||
|
||||
/* Lock flag parameter for various interfaces */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user