summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpidebug.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-03-07 23:13:29 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-03-07 23:13:29 +0000
commitfdd978e2bb230572aebe644005ec1f3f0334a237 (patch)
treee5bb90831f88ad312480970e590d4b6cddd859c4 /sys/dev/acpi/acpidebug.h
parentb9a3a442b0a958c2f23ffa8166b50dcc25b39581 (diff)
Add "disasm" code for ddb. With this one can disassemble AML code from DDB.
example : "machine acpi disasm \\_SB_.BIF_" dumps the battery AML on my laptop. Disasm code was written by jordan. Help from miod on ddb lexer magic. ok jordan.
Diffstat (limited to 'sys/dev/acpi/acpidebug.h')
-rw-r--r--sys/dev/acpi/acpidebug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpidebug.h b/sys/dev/acpi/acpidebug.h
index 74721f97ac1..b57b6c72fe5 100644
--- a/sys/dev/acpi/acpidebug.h
+++ b/sys/dev/acpi/acpidebug.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpidebug.h,v 1.1 2006/03/05 14:46:46 marco Exp $ */
+/* $OpenBSD: acpidebug.h,v 1.2 2006/03/07 23:13:28 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@openbsd.org>
*
@@ -15,4 +15,5 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+void db_acpi_disasm(db_expr_t, int, db_expr_t, char *);
void db_acpi_tree(db_expr_t, int, db_expr_t, char *);