Make hil interrupts come through the standard dispatch mechanism rather
than its custom handler.
This commit is contained in:
parent
40aa97f8b1
commit
3acacb5fc1
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore.s,v 1.116 2001/07/22 13:34:04 wiz Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.117 2001/11/17 23:29:08 gmcgarry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995 Gordon W. Ross
|
||||
@ -986,15 +986,7 @@ ENTRY_NOPROFILE(spurintr) /* level 0 */
|
||||
addql #1,_C_LABEL(uvmexp)+UVMEXP_INTRS
|
||||
jra _ASM_LABEL(rei)
|
||||
|
||||
ENTRY_NOPROFILE(lev1intr) /* level 1: HIL XXX this needs to go away */
|
||||
INTERRUPT_SAVEREG
|
||||
jbsr _C_LABEL(hilint)
|
||||
INTERRUPT_RESTOREREG
|
||||
addql #1,_C_LABEL(intrcnt)+4
|
||||
addql #1,_C_LABEL(uvmexp)+UVMEXP_INTRS
|
||||
jra _ASM_LABEL(rei)
|
||||
|
||||
ENTRY_NOPROFILE(intrhand) /* levels 2 through 5 */
|
||||
ENTRY_NOPROFILE(intrhand) /* levels 1 through 5 */
|
||||
INTERRUPT_SAVEREG
|
||||
movw %sp@(22),%sp@- | push exception vector info
|
||||
clrw %sp@-
|
||||
|
@ -1,4 +1,4 @@
|
||||
| $NetBSD: vectors.s,v 1.15 1998/10/04 23:38:56 thorpej Exp $
|
||||
| $NetBSD: vectors.s,v 1.16 2001/11/17 23:29:08 gmcgarry Exp $
|
||||
|
||||
| Copyright (c) 1997 Jason R. Thorpe. All rights reserved.
|
||||
| Copyright (c) 1988 University of Utah
|
||||
@ -78,7 +78,7 @@ GLOBAL(vectab)
|
||||
VECTOR(badtrap) /* 22: unassigned, reserved */
|
||||
VECTOR(badtrap) /* 23: unassigned, reserved */
|
||||
VECTOR(spurintr) /* 24: spurious interrupt */
|
||||
VECTOR(lev1intr) /* 25: level 1 interrupt autovector */
|
||||
VECTOR(intrhand) /* 25: level 1 interrupt autovector */
|
||||
VECTOR(intrhand) /* 26: level 2 interrupt autovector */
|
||||
VECTOR(intrhand) /* 27: level 3 interrupt autovector */
|
||||
VECTOR(intrhand) /* 28: level 4 interrupt autovector */
|
||||
|
Loading…
Reference in New Issue
Block a user