diff options
author | jkim <jkim@FreeBSD.org> | 2009-06-08 20:07:16 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2009-06-08 20:07:16 +0000 |
commit | 8ede8714ca613975ea1e8456a3168868425b93ab (patch) | |
tree | 837dbb33fb84567301cf5e3048c33e511a446804 /sys/contrib | |
parent | 3513417bbf22285417b257df7c710671bb40761e (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/contrib/dev/acpica/include/platform/acfreebsd.h | 1 |
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 */ |