diff options
| author | Steve Passe <fsmp@FreeBSD.org> | 1997-07-20 18:02:59 +0000 |
|---|---|---|
| committer | Steve Passe <fsmp@FreeBSD.org> | 1997-07-20 18:02:59 +0000 |
| commit | 0571e04aee11845eb6e0053d151d2cc7b6bf599b (patch) | |
| tree | af6d61f6059b12babcf3b563756318f84c226ec5 /sys/isa | |
| parent | 03aad53304d20a344a15c3b6d7f50987763336fe (diff) | |
Notes
Diffstat (limited to 'sys/isa')
| -rw-r--r-- | sys/isa/atrtc.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index 62774778d66f..00fefc3f08ea 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.92 1997/07/19 03:59:28 fsmp Exp $ + * $Id: clock.c,v 1.2 1997/07/20 17:02:32 smp Exp smp $ */ /* @@ -830,19 +830,26 @@ resettodr() } #ifdef APIC_IO + /* XXX FIXME: from icu.s: */ +#if !defined(APIC_PIN0_TIMER) || defined(DO_RTC_VEC) extern u_int ivectors[]; extern u_int vec[]; +#endif +#ifndef APIC_PIN0_TIMER extern void vec8254 __P((void)); extern u_int Xintr8254; extern u_int mask8254; +#endif /* APIC_PIN0_TIMER */ + #ifdef DO_RTC_VEC /** XXX FIXME: remove vevRTS stuff after several weeks of no problems */ extern void vecRTC __P((void)); extern u_int XintrRTC; extern u_int maskRTC; #endif /* DO_RTC_VEC */ + #endif /* APIC_IO */ /* @@ -989,16 +996,6 @@ cpu_initclocks() #endif /* APIC_IO */ writertc(RTC_STATUSB, rtc_statusb); - -#ifdef APIC_IO - if (bootverbose) { - printf("SMP: enabled INTs: "); - for (x = 0; x < 24; ++x) - if ((imen & (1 << x)) == 0) - printf("%d, ", x); - printf("imen: 0x%08x\n", imen); - } -#endif /* APIC_IO */ } void |
