summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/amltypes.h
diff options
context:
space:
mode:
authorJordan Hargrave <jordan@cvs.openbsd.org>2005-12-07 07:46:52 +0000
committerJordan Hargrave <jordan@cvs.openbsd.org>2005-12-07 07:46:52 +0000
commitbad295c13523a162584f90ed6a52e5a1843928fe (patch)
tree17840bf87fa2db1e82099333a693c767c07d8e50 /sys/dev/acpi/amltypes.h
parent44d42f17dc9fc8481b89c5831e4d390a3d5d564d (diff)
Parses DSDT table
some cleanup ok marco@
Diffstat (limited to 'sys/dev/acpi/amltypes.h')
-rw-r--r--sys/dev/acpi/amltypes.h31
1 files changed, 29 insertions, 2 deletions
diff --git a/sys/dev/acpi/amltypes.h b/sys/dev/acpi/amltypes.h
index 650f835b0bf..ef6b799792f 100644
--- a/sys/dev/acpi/amltypes.h
+++ b/sys/dev/acpi/amltypes.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: amltypes.h,v 1.1 2005/12/07 04:24:31 jordan Exp $ */
+/* $OpenBSD: amltypes.h,v 1.2 2005/12/07 07:46:51 jordan Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -35,7 +35,7 @@
#define AMLOP_METHOD 0x14
#define AMLOP_DUALNAMEPREFIX 0x2E
#define AMLOP_MULTINAMEPREFIX 0x2F
-#define AMLOP_EXTOPPREFIX 0x5B
+#define AMLOP_EXTPREFIX 0x5B
#define AMLOP_MUTEX 0x5B01
#define AMLOP_EVENT 0x5B02
#define AMLOP_CONDREFOF 0x5B12
@@ -174,4 +174,31 @@ enum aml_objecttype {
AML_OBJTYPE_DEBUGOBJ
};
+/* AML Opcode Arguments */
+#define AML_ARG_INTEGER 'i'
+#define AML_ARG_BYTE 'b'
+#define AML_ARG_WORD 'w'
+#define AML_ARG_DWORD 'd'
+#define AML_ARG_QWORD 'q'
+#define AML_ARG_ZERO '0'
+#define AML_ARG_ONE '1'
+#define AML_ARG_ONES '!'
+#define AML_ARG_OBJLEN 'p'
+#define AML_ARG_STRING 's'
+#define AML_ARG_BYTELIST 'B'
+#define AML_ARG_REVISION 'R'
+#define AML_ARG_RESULT 'r'
+
+#define AML_ARG_NAMESTRING 'N'
+#define AML_ARG_NAMEREF 'n'
+#define AML_ARG_FIELDLIST 'F'
+#define AML_ARG_FIELDFLAG 'f'
+#define AML_ARG_METHODFLAG 'm'
+
+#define AML_ARG_TERMOBJLIST 'T'
+#define AML_ARG_TERMOBJ 't'
+#define AML_ARG_DATAOBJLIST 'O'
+#define AML_ARG_DATAOBJ 'o'
+
+
#endif /* __AMLPARSE_H__ */