diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-03-07 23:15:03 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-03-07 23:15:03 +0000 |
commit | 04c30bf2d76475394d2e5b4f46c78daa68de854b (patch) | |
tree | 56c243f9c1fea3c63b0348bd2da7467f1274d076 /sys | |
parent | fdd978e2bb230572aebe644005ec1f3f0334a237 (diff) |
Add hooks for "machine acpi disasm"
ok jordan
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/db_interface.c | 3 | ||||
-rw-r--r-- | sys/arch/i386/i386/db_interface.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/db_interface.c b/sys/arch/amd64/amd64/db_interface.c index 170bd00a442..f683e7f7c9d 100644 --- a/sys/arch/amd64/amd64/db_interface.c +++ b/sys/arch/amd64/amd64/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.7 2006/03/05 14:46:45 marco Exp $ */ +/* $OpenBSD: db_interface.c,v 1.8 2006/03/07 23:15:02 marco Exp $ */ /* $NetBSD: db_interface.c,v 1.1 2003/04/26 18:39:27 fvdl Exp $ */ /* @@ -377,6 +377,7 @@ x86_ipi_db(struct cpu_info *ci) #if NACPI > 0 struct db_command db_acpi_cmds[] = { + { "disasm", db_acpi_disasm, CS_OWN, NULL }, { "tree", db_acpi_tree, 0, NULL }, { NULL, NULL, 0, NULL } }; diff --git a/sys/arch/i386/i386/db_interface.c b/sys/arch/i386/i386/db_interface.c index 3778f3a22d9..f45f327ff26 100644 --- a/sys/arch/i386/i386/db_interface.c +++ b/sys/arch/i386/i386/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.17 2006/03/05 14:46:46 marco Exp $ */ +/* $OpenBSD: db_interface.c,v 1.18 2006/03/07 23:15:01 marco Exp $ */ /* $NetBSD: db_interface.c,v 1.22 1996/05/03 19:42:00 christos Exp $ */ /* @@ -329,6 +329,7 @@ db_ddbproc_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) #if NACPI > 0 struct db_command db_acpi_cmds[] = { + { "disasm", db_acpi_disasm, CS_OWN, NULL }, { "tree", db_acpi_tree, 0, NULL }, { NULL, NULL, 0, NULL } }; |