summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-02-14 07:12:44 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-02-14 07:12:44 +0000
commitfee445b850c9196f5d4b703e74455fb4fcc406ce (patch)
tree483758049d4ec338fbaf18ca46cfd64046b65360 /sys/arch/i386
parent9b369b10458ef05f7eed4dc8cd4e43b26f0f2c2e (diff)
Tally all interrupts, not only FASTINTR ones
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/isa/vector.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/i386/isa/vector.s b/sys/arch/i386/isa/vector.s
index 98ba7ffba90..82202e35044 100644
--- a/sys/arch/i386/isa/vector.s
+++ b/sys/arch/i386/isa/vector.s
@@ -214,6 +214,7 @@ _Xintr/**/irq_num/**/: ;\
MAKE_FRAME ;\
MASK(irq_num, icu) /* mask it in hardware */ ;\
ack(irq_num) /* and allow other intrs */ ;\
+ incl _cnt+V_INTR /* statistical info */ ;\
testb $IRQ_BIT(irq_num),_cpl + IRQ_BYTE(irq_num) ;\
jnz _Xhold/**/irq_num /* currently masked; hold it */ ;\
_Xresume/**/irq_num/**/: ;\