From bad295c13523a162584f90ed6a52e5a1843928fe Mon Sep 17 00:00:00 2001 From: Jordan Hargrave Date: Wed, 7 Dec 2005 07:46:52 +0000 Subject: Parses DSDT table some cleanup ok marco@ --- sys/dev/acpi/amltypes.h | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) (limited to 'sys/dev/acpi/amltypes.h') 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 * @@ -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__ */ -- cgit v1.2.3