summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-05-25 16:55:26 +0000
committerfsmp <fsmp@FreeBSD.org>1997-05-25 16:55:26 +0000
commit4dce84d0e91168b24d25f5fda90588be120edf3f (patch)
treec9ba4e728102aa779f4759a984e658624b9be27b /sys/isa
parent56fc405bf0b3268ba0982b98720bd221c8306324 (diff)
downloadFreeBSD-src-4dce84d0e91168b24d25f5fda90588be120edf3f.zip
FreeBSD-src-4dce84d0e91168b24d25f5fda90588be120edf3f.tar.gz
Made the array vec[] a global.
This allows the APIC code to reorder the vectors at runtime.
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/atrtc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index ef1451c..eb0975f 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.82 1997/05/04 14:25:00 peter Exp $
+ * $Id: clock.c,v 1.83 1997/05/05 09:34:32 peter Exp $
*/
/*
@@ -829,7 +829,7 @@ resettodr()
#if defined(APIC_IO)
/* from icu.s: */
-extern u_int hwisrs[];
+extern u_int vec[];
extern void vec8254 __P((void));
extern void vecRTC __P((void));
extern u_int ivectors[];
@@ -894,7 +894,7 @@ cpu_initclocks()
}
}
- hwisrs[x] = (u_int)vec8254;
+ vec[x] = (u_int)vec8254;
Xintr8254 = (u_int)ivectors[x]; /* XXX might need Xfastintr# */
mask8254 = (1 << x);
register_intr(/* irq */ x, /* XXX id */ 0, /* flags */ 0,
@@ -933,7 +933,7 @@ cpu_initclocks()
}
}
- hwisrs[x] = (u_int)vecRTC;
+ vec[x] = (u_int)vecRTC;
XintrRTC = (u_int)ivectors[x]; /* XXX might need Xfastintr# */
maskRTC = (1 << x);
register_intr(/* irq */ x, /* XXX id */ 1, /* flags */ 0,
OpenPOWER on IntegriCloud