aboutsummaryrefslogtreecommitdiff
path: root/sys/isa/atrtc.c
diff options
context:
space:
mode:
authorSteve Passe <fsmp@FreeBSD.org>1997-05-25 16:55:26 +0000
committerSteve Passe <fsmp@FreeBSD.org>1997-05-25 16:55:26 +0000
commit383243e687e1aa980c5b1796b4aa355fbc66c7cb (patch)
treed48acf498b7107329d9947f5422ba4307afe8a14 /sys/isa/atrtc.c
parent6b35fac151a519e037792d482d999f22c07292c7 (diff)
downloadsrc-383243e687e1aa980c5b1796b4aa355fbc66c7cb.tar.gz
src-383243e687e1aa980c5b1796b4aa355fbc66c7cb.zip
Made the array vec[] a global.
This allows the APIC code to reorder the vectors at runtime.
Notes
Notes: svn path=/head/; revision=26129
Diffstat (limited to 'sys/isa/atrtc.c')
-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 ef1451cd98e0..eb0975ffaf98 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,