Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/arch/m68k/m68k Pull up following revision(s) (request...
details: https://anonhg.NetBSD.org/src/rev/bec86ff6c3c5
branches: netbsd-9
changeset: 369764:bec86ff6c3c5
user: martin <martin%NetBSD.org@localhost>
date: Tue Aug 30 18:31:49 2022 +0000
description:
Pull up following revision(s) (requested by tsutsui in ticket #1513):
sys/arch/m68k/m68k/m68k_trap.c: revision 1.3
Minimal (but hackish) change to make a DEBUG kernel compilable.
diffstat:
sys/arch/m68k/m68k/m68k_trap.c | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r e62f99f93ea2 -r bec86ff6c3c5 sys/arch/m68k/m68k/m68k_trap.c
--- a/sys/arch/m68k/m68k/m68k_trap.c Tue Aug 30 18:28:42 2022 +0000
+++ b/sys/arch/m68k/m68k/m68k_trap.c Tue Aug 30 18:31:49 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: m68k_trap.c,v 1.2 2019/04/06 03:06:26 thorpej Exp $ */
+/* $NetBSD: m68k_trap.c,v 1.2.6.1 2022/08/30 18:31:49 martin Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: m68k_trap.c,v 1.2 2019/04/06 03:06:26 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: m68k_trap.c,v 1.2.6.1 2022/08/30 18:31:49 martin Exp $");
#include "opt_m68k_arch.h"
@@ -91,6 +91,15 @@
#define KDFAULT(c) (KDFAULT_060(c) || KDFAULT_040(c) || KDFAULT_OTH(c))
#define WRFAULT(c) (WRFAULT_060(c) || WRFAULT_040(c) || WRFAULT_OTH(c))
+
+#ifdef DEBUG
+extern int mmudebug, mmupid;
+#define MDB_FOLLOW 1
+#define MDB_WBFOLLOW 2
+#define MDB_WBFAILED 4
+#define MDB_ISPID(pid) ((pid) == mmupid)
+#endif
+
#ifdef M68040
#ifdef DEBUG
struct writebackstats {
Home |
Main Index |
Thread Index |
Old Index