summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-09-20 23:37:09 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-09-20 23:37:09 +0000
commit3d0fa35593f1aeb3bc049d52c3f9e3c571aef50f (patch)
tree18aa5f2259b762d9107c640cf7f57348067a478a /sys/arch/mips64/include
parente0de90b81aa0d2e5714e5cbdbe3e19c0cd931058 (diff)
Make md_printins() get the printf-like function as an extra parameter, and
make it visible so that md parts of the kernel can use it for debug messages.
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/db_machdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/db_machdep.h b/sys/arch/mips64/include/db_machdep.h
index fd8e89731c5..0361060620e 100644
--- a/sys/arch/mips64/include/db_machdep.h
+++ b/sys/arch/mips64/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.9 2010/08/30 08:52:10 syuu Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.10 2010/09/20 23:37:08 miod Exp $ */
/*
* Copyright (c) 1998-2003 Opsycon AB (www.opsycon.se)
@@ -78,6 +78,8 @@ int db_enter_ddb(void);
void db_startcpu(int);
void db_stopcpu(int);
+int dbmd_print_insn(uint32_t, db_addr_t, int (*)(const char *, ...));
+
extern struct mutex ddb_mp_mutex;
#define DDB_STATE_NOT_RUNNING 0