summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-11-13 17:50:46 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-11-13 17:50:46 +0000
commitac3032870b4893e133da625a13872a42dd2be14d (patch)
tree36666bbd4d862ebfa842f3ab1c7f8ddc1f451d71 /sys/arch/sparc/include
parent56fd7dfee4de7122306fde7e9dc0075dee5e3dae (diff)
move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r--sys/arch/sparc/include/db_machdep.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/db_machdep.h b/sys/arch/sparc/include/db_machdep.h
index 7624b24ecfa..1366775af21 100644
--- a/sys/arch/sparc/include/db_machdep.h
+++ b/sys/arch/sparc/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.12 2005/04/19 15:23:08 miod Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.13 2005/11/13 17:50:44 fgsch Exp $ */
/* $NetBSD: db_machdep.h,v 1.10 1997/08/31 21:23:40 pk Exp $ */
/*
@@ -97,4 +97,7 @@ typedef u_long kgdb_reg_t;
#define KGDB_NUMREGS 72
#define KGDB_BUFLEN 1024
+#define KGDB_PREPARE fb_unblank()
+#define KGDB_ENTER __asm("ta %0" :: "n" (T_KGDB_EXEC))
+
#endif /* _SPARC_DB_MACHDEP_H_ */