diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-20 22:04:33 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-20 22:04:33 +0000 |
commit | 7050b01034c580d93b16d4d5e9f4691cba118834 (patch) | |
tree | 29d14f389e750f4da6554aa0f2c251f1e2154baf /sys/arch | |
parent | 487210c2ccc4ad0a43d58e1ceff978ccf4c52b40 (diff) |
Remove unused ddb_nmi_trap().
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/m88k/m88k/db_interface.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sys/arch/m88k/m88k/db_interface.c b/sys/arch/m88k/m88k/db_interface.c index 4dfc9491bc5..6ff3f64cef8 100644 --- a/sys/arch/m88k/m88k/db_interface.c +++ b/sys/arch/m88k/m88k/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.1 2005/10/24 19:28:28 miod Exp $ */ +/* $OpenBSD: db_interface.c,v 1.2 2005/11/20 22:04:32 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1991 Carnegie Mellon University @@ -64,7 +64,6 @@ void kdbprinttrap(int); int m88k_dmx_print(u_int, u_int, u_int, u_int); void m88k_db_trap(int, struct trapframe *); -int ddb_nmi_trap(int, db_regs_t *); void ddb_error_trap(char *, db_regs_t *); void m88k_db_pause(u_int); void m88k_db_print_frame(db_expr_t, int, db_expr_t, char *); @@ -431,18 +430,7 @@ Debugger() { asm (ENTRY_ASM); /* entry trap */ /* ends up at ddb_entry_trap below */ -} - -/* fielded a non maskable interrupt */ -int -ddb_nmi_trap(level, eframe) - int level; - db_regs_t *eframe; -{ - db_printf("kernel: nmi interrupt\n"); - m88k_db_trap(T_KDB_ENTRY, (struct trapframe *)eframe); - - return 0; + return; } /* |