summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/dsdt.c
diff options
context:
space:
mode:
authorJordan Hargrave <jordan@cvs.openbsd.org>2006-03-21 21:11:11 +0000
committerJordan Hargrave <jordan@cvs.openbsd.org>2006-03-21 21:11:11 +0000
commit90c0d62bbb4eb2188b20de1ffb3916a645d5b018 (patch)
tree02955b613c3bd24342cabb5fe0fc6d7efb02a4f2 /sys/dev/acpi/dsdt.c
parent602da2fa5b1519e33942feea1be9e3fa72c06a39 (diff)
Disassembler now pretty prints AML code (like acpidump)
ok marco@
Diffstat (limited to 'sys/dev/acpi/dsdt.c')
-rw-r--r--sys/dev/acpi/dsdt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index 5f845084be1..9a6b3d58f89 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.c,v 1.38 2006/03/09 05:38:12 jordan Exp $ */
+/* $OpenBSD: dsdt.c,v 1.39 2006/03/21 21:11:10 jordan Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -163,12 +163,12 @@ struct aml_opcode aml_table[] = {
{ AMLOP_ZERO, "Zero", "!" },
{ AMLOP_ONE, "One", "!" },
{ AMLOP_ONES, "Ones", "!" },
- { AMLOP_BYTEPREFIX, "Byte", "b" },
- { AMLOP_WORDPREFIX, "Word", "w" },
- { AMLOP_DWORDPREFIX, "DWord", "d" },
- { AMLOP_QWORDPREFIX, "QWord", "q" },
+ { AMLOP_BYTEPREFIX, ".Byte", "b" },
+ { AMLOP_WORDPREFIX, ".Word", "w" },
+ { AMLOP_DWORDPREFIX, ".DWord", "d" },
+ { AMLOP_QWORDPREFIX, ".QWord", "q" },
{ AMLOP_REVISION, "Revision", "" },
- { AMLOP_STRINGPREFIX, "String", "a" },
+ { AMLOP_STRINGPREFIX, ".String", "a" },
{ AMLOP_DEBUG, "DebugOp", "", },
{ AMLOP_BUFFER, "Buffer", "piB" },
{ AMLOP_PACKAGE, "Package", "pbT" },
@@ -233,7 +233,7 @@ struct aml_opcode aml_table[] = {
{ AMLOP_LLESS, "LLess", "tt", },
/* Named objects */
- { AMLOP_NAMECHAR, "NameRef", "n" },
+ { AMLOP_NAMECHAR, ".NameRef", "n" },
{ AMLOP_ALIAS, "Alias", "nN", },
{ AMLOP_NAME, "Name", "Nt", },
{ AMLOP_EVENT, "Event", "N", },