aboutsummaryrefslogtreecommitdiff
path: root/source/compiler/asldefine.h
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-02-12 18:53:29 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-02-12 18:53:29 +0000
commit67ac2c42d552618270f8ba5431d63944a35a0ee7 (patch)
tree5c13158cdf7d0b9ff31cb1f23b72fa64440df238 /source/compiler/asldefine.h
parent176870a6cad869aa9bbb6b7906be146cc651c359 (diff)
downloadsrc-67ac2c42d552618270f8ba5431d63944a35a0ee7.tar.gz
src-67ac2c42d552618270f8ba5431d63944a35a0ee7.zip
Import ACPICA 20160212.vendor/acpica/20160212
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=295571 svn path=/vendor-sys/acpica/20160212/; revision=295572; tag=vendor/acpica/20160212
Diffstat (limited to 'source/compiler/asldefine.h')
-rw-r--r--source/compiler/asldefine.h35
1 files changed, 32 insertions, 3 deletions
diff --git a/source/compiler/asldefine.h b/source/compiler/asldefine.h
index b42bae2ef936..f615cb219536 100644
--- a/source/compiler/asldefine.h
+++ b/source/compiler/asldefine.h
@@ -54,7 +54,7 @@
#define ASL_CREATOR_ID "INTL"
#define ASL_DEFINE "__IASL__"
-#define ASL_COMPLIANCE "Supports ACPI Specification Revision 6.0"
+#define ASL_COMPLIANCE "Supports ACPI Specification Revision 6.1"
/* Configuration constants */
@@ -118,8 +118,7 @@
#define ASL_ABORT TRUE
#define ASL_NO_ABORT FALSE
#define ASL_EOF ACPI_UINT32_MAX
-#define ASL_WITHIN_COMMENT (ACPI_UINT32_MAX -1)
-#define ASL_BLANK_LINE (ACPI_UINT32_MAX -1)
+#define ASL_IGNORE_LINE (ACPI_UINT32_MAX -1)
/* Listings */
@@ -156,4 +155,34 @@
#define RsCreateQwordField(Op, Name, ByteOffset) \
RsCreateResourceField (Op, Name, ByteOffset, 0, 64);
+
+/*
+ * Macros for debug output
+ */
+
+#define DEBUG_MAX_LINE_LENGTH 61
+#define DEBUG_SPACES_PER_INDENT 3
+#define DEBUG_FULL_LINE_LENGTH 71
+
+#define ASL_PARSE_TREE_FULL_LINE "\n%71.71s"
+
+/* Header/Trailer for original parse tree directly from the parser */
+
+#define ASL_PARSE_TREE_HEADER1 \
+ "%*s Value P_Op Flags Line# End# LogL# EndL#\n", 65, " "
+
+#define ASL_PARSE_TREE_DEBUG1 \
+ " %4.4X %8.8X %5d %5d %5d %5d"
+
+/* Header/Trailer for processed parse tree used for AML generation */
+
+#define ASL_PARSE_TREE_HEADER2 \
+ "%*s NameString Value P_Op A_Op OpLen PByts Len SubLen PSubLen OpPtr"\
+ " Parent Child Next Flags AcTyp Final Col"\
+ " Line# End# LogL# EndL#\n", 60, " "
+
+#define ASL_PARSE_TREE_DEBUG2 \
+ " %08X %04X %04X %01X %04X %04X %05X %05X "\
+ "%08X %08X %08X %08X %08X %08X %04X %02d %5d %5d %5d %5d\n"
+
#endif /* ASLDEFINE.H */