diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2009-06-08 20:07:16 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2009-06-08 20:07:16 +0000 |
commit | 230bb4d90df8bf2cda5664415a55e8f4f70f4dff (patch) | |
tree | 837dbb33fb84567301cf5e3048c33e511a446804 /sys/contrib | |
parent | 5c40c5e989b5c7c7eddace7711786c62795dae39 (diff) | |
download | src-230bb4d90df8bf2cda5664415a55e8f4f70f4dff.tar.gz src-230bb4d90df8bf2cda5664415a55e8f4f70f4dff.zip |
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).
Notes
Notes:
svn path=/head/; revision=193750
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 ce647f3a4717..8fea3cf97a02 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 */ |