From 7b35bea871cd1d8f75e0ea71a91d50875bc9fbf4 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 24 Feb 1997 13:00:54 +0000 Subject: [PATCH] temporarily, also pass intr() routines the vec# --- sys/arch/mvme68k/mvme68k/trap.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/arch/mvme68k/mvme68k/trap.c b/sys/arch/mvme68k/mvme68k/trap.c index 5b41765e1a2..f46ac56a999 100644 --- a/sys/arch/mvme68k/mvme68k/trap.c +++ b/sys/arch/mvme68k/mvme68k/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.14 1997/02/21 06:07:27 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.15 1997/02/24 13:00:54 deraadt Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -1172,7 +1172,13 @@ hardintr(pc, evec, frame) cnt.v_intr++; /* intrcnt[level]++; */ for (ih = intrs[vec]; ih; ih = ih->ih_next) { - r = (*ih->ih_fn)(ih->ih_wantframe ? frame : ih->ih_arg); +#if 0 + if (vec >= 0x70 && vec <= 0x73) { + zscnputc(0, '['); + zscnputc(0, '0' + (vec - 0x70)); + } +#endif + r = (*ih->ih_fn)(ih->ih_wantframe ? frame : ih->ih_arg, vec); if (r > 0) count++; } -- 2.20.1