From owner-cvs-sys Sun Sep 28 12:35:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA18969 for cvs-sys-outgoing; Sun, 28 Sep 1997 12:35:55 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA18929; Sun, 28 Sep 1997 12:35:19 -0700 (PDT) From: "Justin T. Gibbs" Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA10261; Sun, 28 Sep 1997 12:30:03 -0700 (PDT) Date: Sun, 28 Sep 1997 12:30:03 -0700 (PDT) Message-Id: <199709281930.MAA10261@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa apic_vector.s icu_vector.s Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 1997/09/28 12:30:03 PDT Modified files: sys/i386/isa apic_vector.s icu_vector.s Log: 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 Revision Changes Path 1.23 +3 -2 src/sys/i386/isa/apic_vector.s 1.6 +7 -5 src/sys/i386/isa/icu_vector.s