summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/vector.s
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-11-06 17:02:38 +0000
committerbde <bde@FreeBSD.org>1996-11-06 17:02:38 +0000
commit1168e2d4ec00da6485782cae4b3022da252fd3b6 (patch)
tree7ab80a41e0ddd3bd437ff9b92de0ffb54dc0f93f /sys/i386/isa/vector.s
parent9973ea2422e803715fadbd5f78faec743868ecd8 (diff)
downloadFreeBSD-src-1168e2d4ec00da6485782cae4b3022da252fd3b6.zip
FreeBSD-src-1168e2d4ec00da6485782cae4b3022da252fd3b6.tar.gz
Count only hardware interrupts in cnt.v_intr, so that the individual
hardware interrupt counts add up to the total. Previously, software interrupts generated by splz() were counted in the total. These software interrupts seem to be very rare - there have apparently been 0 of them on freefall among the last 352448857 interrupts.
Diffstat (limited to 'sys/i386/isa/vector.s')
-rw-r--r--sys/i386/isa/vector.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/vector.s b/sys/i386/isa/vector.s
index 0283c2a..e386a11 100644
--- a/sys/i386/isa/vector.s
+++ b/sys/i386/isa/vector.s
@@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
- * $Id: vector.s,v 1.20 1996/05/31 01:08:08 peter Exp $
+ * $Id: vector.s,v 1.21 1996/10/30 22:39:04 asami Exp $
*/
/*
@@ -184,13 +184,13 @@ IDTVEC(vec_name) ; \
movb %al,_imen + IRQ_BYTE(irq_num) ; \
outb %al,$icu+ICU_IMR_OFFSET ; \
enable_icus ; \
- incl _cnt+V_INTR ; /* tally interrupts */ \
movl _cpl,%eax ; \
testb $IRQ_BIT(irq_num),%reg ; \
jne 2f ; \
incb _intr_nesting_level ; \
__CONCAT(Xresume,irq_num): ; \
FAKE_MCOUNT(12*4(%esp)) ; /* XXX late to avoid double count */ \
+ incl _cnt+V_INTR ; /* tally interrupts */ \
movl _intr_countp + (irq_num) * 4,%eax ; \
incl (%eax) ; \
movl _cpl,%eax ; \
OpenPOWER on IntegriCloud