kernel/acpi/acpi_osl.cpp
/*
 * Mutex primitives. May be configured to use semaphores instead via
 * ACPI_MUTEX_TYPE (see platform/acenv.h)
 */
Mutex primitives. May be configured to use semaphores instead via
ACPI_MUTEX_TYPE
Mutex primitives . May be configured to use semaphores instead via ACPI_MUTEX_TYPE
ACPI_STATUS AcpiOsCreateMutex(ACPI_MUTEX *OutHandle)
{
  KL_TRC_ENTRY;
  klib_mutex *mutex = new klib_mutex;
  klib_synch_mutex_init(*mutex);
  *OutHandle = (ACPI_MUTEX)mutex;
  KL_TRC_EXIT;
  return AE_OK;
}
ACPI_STATUS AcpiOsCreateMutex ( ACPI_MUTEX * OutHandle ) { KL_TRC_ENTRY ; klib_mutex * mutex = new klib_mutex ; klib_synch_mutex_init ( * mutex ) ; * OutHandle = ( ACPI_MUTEX ) mutex ; KL_TRC_EXIT ; return AE_OK ; }
Mutex primitives.
Mutex primitives .