The clock is already allocated as 'fast' - no need to try and intercept a
'slow' interrupt registration and convert it into 'fast'.
This commit is contained in:
parent
a755f1c9d0
commit
9ecb46bf87
@ -528,14 +528,6 @@ icu_setup(int intr, driver_intr_t *handler, void *arg, int flags)
|
||||
}
|
||||
else {
|
||||
vector = TPR_SLOW_INTS + intr;
|
||||
#ifdef APIC_INTR_REORDER
|
||||
#ifdef APIC_INTR_HIGHPRI_CLOCK
|
||||
/* XXX: Hack (kludge?) for more accurate clock. */
|
||||
if (intr == apic_8254_intr || intr == 8) {
|
||||
vector = TPR_FAST_INTS + intr;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
setidt(vector, slowintr[intr],
|
||||
SDT_SYS386IGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL));
|
||||
}
|
||||
|
@ -528,14 +528,6 @@ icu_setup(int intr, driver_intr_t *handler, void *arg, int flags)
|
||||
}
|
||||
else {
|
||||
vector = TPR_SLOW_INTS + intr;
|
||||
#ifdef APIC_INTR_REORDER
|
||||
#ifdef APIC_INTR_HIGHPRI_CLOCK
|
||||
/* XXX: Hack (kludge?) for more accurate clock. */
|
||||
if (intr == apic_8254_intr || intr == 8) {
|
||||
vector = TPR_FAST_INTS + intr;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
setidt(vector, slowintr[intr],
|
||||
SDT_SYS386IGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL));
|
||||
}
|
||||
|
@ -528,14 +528,6 @@ icu_setup(int intr, driver_intr_t *handler, void *arg, int flags)
|
||||
}
|
||||
else {
|
||||
vector = TPR_SLOW_INTS + intr;
|
||||
#ifdef APIC_INTR_REORDER
|
||||
#ifdef APIC_INTR_HIGHPRI_CLOCK
|
||||
/* XXX: Hack (kludge?) for more accurate clock. */
|
||||
if (intr == apic_8254_intr || intr == 8) {
|
||||
vector = TPR_FAST_INTS + intr;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
setidt(vector, slowintr[intr],
|
||||
SDT_SYS386IGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL));
|
||||
}
|
||||
|
@ -528,14 +528,6 @@ icu_setup(int intr, driver_intr_t *handler, void *arg, int flags)
|
||||
}
|
||||
else {
|
||||
vector = TPR_SLOW_INTS + intr;
|
||||
#ifdef APIC_INTR_REORDER
|
||||
#ifdef APIC_INTR_HIGHPRI_CLOCK
|
||||
/* XXX: Hack (kludge?) for more accurate clock. */
|
||||
if (intr == apic_8254_intr || intr == 8) {
|
||||
vector = TPR_FAST_INTS + intr;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
setidt(vector, slowintr[intr],
|
||||
SDT_SYS386IGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user