summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/include
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2009-06-08 20:07:16 +0000
committerjkim <jkim@FreeBSD.org>2009-06-08 20:07:16 +0000
commit8ede8714ca613975ea1e8456a3168868425b93ab (patch)
tree837dbb33fb84567301cf5e3048c33e511a446804 /sys/contrib/dev/acpica/include
parent3513417bbf22285417b257df7c710671bb40761e (diff)
downloadFreeBSD-src-8ede8714ca613975ea1e8456a3168868425b93ab.zip
FreeBSD-src-8ede8714ca613975ea1e8456a3168868425b93ab.tar.gz
Rewrite OsdSynch.c to reflect the latest ACPICA more closely:
- Implement ACPI semaphore (ACPI_SEMAPHORE) with condvar(9) and mutex(9). - Implement ACPI mutex (ACPI_MUTEX) with mutex(9). - Implement ACPI lock (ACPI_SPINLOCK) with spin mutex(9).
Diffstat (limited to 'sys/contrib/dev/acpica/include')
-rw-r--r--sys/contrib/dev/acpica/include/platform/acfreebsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/contrib/dev/acpica/include/platform/acfreebsd.h b/sys/contrib/dev/acpica/include/platform/acfreebsd.h
index ce647f3..8fea3cf 100644
--- a/sys/contrib/dev/acpica/include/platform/acfreebsd.h
+++ b/sys/contrib/dev/acpica/include/platform/acfreebsd.h
@@ -140,6 +140,7 @@
#include "opt_acpi.h"
#define ACPI_THREAD_ID lwpid_t
+#define ACPI_MUTEX_TYPE ACPI_OSL_MUTEX
#ifdef ACPI_DEBUG
#define ACPI_DEBUG_OUTPUT /* for backward compatibility */
OpenPOWER on IntegriCloud