diff options
author | gibbs <gibbs@FreeBSD.org> | 1997-09-28 19:30:01 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1997-09-28 19:30:01 +0000 |
commit | 91399998c0a7aadd6f379874264c78d2fca18e4a (patch) | |
tree | 1761e0badd3ed91da3f0a1d4e8b3dfdf8d1241c2 /sys/i386/isa/apic_vector.s | |
parent | 40be2710111cd129bdbc091f6ea3e2c89dbcbd43 (diff) | |
download | FreeBSD-src-91399998c0a7aadd6f379874264c78d2fca18e4a.zip FreeBSD-src-91399998c0a7aadd6f379874264c78d2fca18e4a.tar.gz |
Fix a serious bug I introduced while adding in support for CAM interrupts.
It seems I didn't count my 0's properly when adding the new masks into
icu_vector.s pushing SWI_AST_MASK off the end of the array and screwing
up the indexing for SWI_CLOCK_MASK.
Fix the bug icu_vector.s and also reformat the code in both icu_vector.s and
apic_vector.s so that it will be much harder to make the same mistake in
the future.
Submitted by: Bruce Evans <bde@zeta.org.au>
Diffstat (limited to 'sys/i386/isa/apic_vector.s')
-rw-r--r-- | sys/i386/isa/apic_vector.s | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/isa/apic_vector.s b/sys/i386/isa/apic_vector.s index 002a8b8..1968142 100644 --- a/sys/i386/isa/apic_vector.s +++ b/sys/i386/isa/apic_vector.s @@ -1,6 +1,6 @@ /* * from: vector.s, 386BSD 0.1 unknown origin - * $Id: apic_vector.s,v 1.21 1997/09/07 22:02:36 fsmp Exp $ + * $Id: apic_vector.s,v 1.22 1997/09/21 21:40:53 gibbs Exp $ */ @@ -516,7 +516,8 @@ ihandlers: * ipl.s: doreti_unpend * apic_ipl.s: splz_unpend */ - .long swi_tty, swi_net, dummycamisr, dummycamisr + .long swi_tty, swi_net + .long dummycamisr, dummycamisr .long 0, 0 .long _softclock, swi_ast |