diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-15 15:43:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-15 15:43:37 +0000 |
commit | 8f7b656ea6a3d1ec33e235d9b10829e53f52ca51 (patch) | |
tree | 901ba918a2dbbb7ab643d48f0ab53c157056b93c /sys/arch/mvme88k | |
parent | 293969a3228cdc75330f4cbb2027e2c4f897f6b1 (diff) |
nmihand() is mvme88k only, move it out of m88k common area.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/include/cpu.h | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/include/cpu.h b/sys/arch/mvme88k/include/cpu.h index 34394f553d2..bdf7ab52cea 100644 --- a/sys/arch/mvme88k/include/cpu.h +++ b/sys/arch/mvme88k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.32 2004/11/09 12:01:16 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.33 2006/04/15 15:43:36 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Copyright (c) 1992, 1993 @@ -74,6 +74,8 @@ int intr_establish(int, struct intrhand *, const char *); typedef SLIST_HEAD(, intrhand) intrhand_t; extern intrhand_t intr_handlers[NVMEINTR]; +void nmihand(void *); + #endif /* _KERNEL */ #endif diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index dee6d6430c7..05cbfbb57d1 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.177 2006/04/13 21:16:18 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.178 2006/04/15 15:43:36 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -86,6 +86,7 @@ #include <machine/db_machdep.h> #include <ddb/db_extern.h> #include <ddb/db_interface.h> +#include <ddb/db_var.h> #endif /* DDB */ typedef struct { @@ -894,6 +895,16 @@ intr_establish(int vec, struct intrhand *ihand, const char *name) return (0); } +void +nmihand(void *frame) +{ +#ifdef DDB + printf("Abort switch pressed\n"); + if (db_console) + Debugger(); +#endif +} + int cpu_exec_aout_makecmds(p, epp) struct proc *p; |