summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/acmacros.h
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2002-07-30 19:33:39 +0000
committeriwasaki <iwasaki@FreeBSD.org>2002-07-30 19:33:39 +0000
commit3f86517f16a9cf970e93e483e90066da6eb323dd (patch)
tree2e03b6e287adc36cfd606a3f67a664bd5222e1a3 /sys/contrib/dev/acpica/acmacros.h
parent80fd7f7b7e25faf86d25d2c97b3a0dfbedb12552 (diff)
downloadFreeBSD-src-3f86517f16a9cf970e93e483e90066da6eb323dd.zip
FreeBSD-src-3f86517f16a9cf970e93e483e90066da6eb323dd.tar.gz
Vendor import of the Intel ACPI CA 20020725 drop.
Diffstat (limited to 'sys/contrib/dev/acpica/acmacros.h')
-rw-r--r--sys/contrib/dev/acpica/acmacros.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/contrib/dev/acpica/acmacros.h b/sys/contrib/dev/acpica/acmacros.h
index d557015..1394c9c 100644
--- a/sys/contrib/dev/acpica/acmacros.h
+++ b/sys/contrib/dev/acpica/acmacros.h
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: acmacros.h - C macros for the entire subsystem.
- * $Revision: 124 $
+ * $Revision: 126 $
*
*****************************************************************************/
@@ -378,12 +378,18 @@
/*
* Macros for the master AML opcode table
*/
-#if defined(ACPI_DEBUG) || defined(ENABLE_DEBUGGER)
+#if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUG)
#define ACPI_OP(Name,PArgs,IArgs,ObjType,Class,Type,Flags) {Name,PArgs,IArgs,Flags,ObjType,Class,Type}
#else
#define ACPI_OP(Name,PArgs,IArgs,ObjType,Class,Type,Flags) {PArgs,IArgs,Flags,ObjType,Class,Type}
#endif
+#ifdef ACPI_DISASSEMBLER
+#define ACPI_DISASM_ONLY_MEMBERS(a) a;
+#else
+#define ACPI_DISASM_ONLY_MEMBERS(a)
+#endif
+
#define ARG_TYPE_WIDTH 5
#define ARG_1(x) ((UINT32)(x))
#define ARG_2(x) ((UINT32)(x) << (1 * ARG_TYPE_WIDTH))
@@ -526,7 +532,6 @@
#define ACPI_DEBUG_DEFINE(a) a;
#define ACPI_DEBUG_ONLY_MEMBERS(a) a;
-#define _OPCODE_NAMES
#define _VERBOSE_STRUCTURES
@@ -606,10 +611,6 @@
#define return_VALUE(s) return(s)
#define return_PTR(s) return(s)
-#ifdef ENABLE_DEBUGGER
-#define _OPCODE_NAMES
-#endif
-
#endif
/*
OpenPOWER on IntegriCloud