Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/acpica/dist/include/platform Provide ACPI_C...
details: https://anonhg.NetBSD.org/src/rev/ef2c2f9e261f
branches: trunk
changeset: 762278:ef2c2f9e261f
user: jruoho <jruoho%NetBSD.org@localhost>
date: Fri Feb 18 17:31:14 2011 +0000
description:
Provide ACPI_CAST_PTHREAD_T(x).
diffstat:
sys/external/bsd/acpica/dist/include/platform/acnetbsd.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 373c7220fbbc -r ef2c2f9e261f sys/external/bsd/acpica/dist/include/platform/acnetbsd.h
--- a/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h Fri Feb 18 17:26:07 2011 +0000
+++ b/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h Fri Feb 18 17:31:14 2011 +0000
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: acnetbsd.h - OS specific defines, etc.
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
*****************************************************************************/
@@ -51,6 +51,7 @@
#define ACPI_UINTPTR_T uintptr_t
#define ACPI_USE_LOCAL_CACHE
+#define ACPI_CAST_PTHREAD_T(x) ((ACPI_THREAD_ID) ACPI_TO_INTEGER (x))
#ifdef _LP64
#define ACPI_MACHINE_WIDTH 64
Home |
Main Index |
Thread Index |
Old Index