git: Revert "IO APIC: Assign pins dedicated to PCI in the early stage."
Matthew Dillon
dillon at apollo.backplane.com
Tue Nov 10 08:45:58 PST 2009
:ay
:> of (C) function pointers for various actions. That would remove a
:> large chunk of the code duplication.
:
:Isn't it so that we only have one real fast interrupt in use?
:--=20
: Thomas E. Spanjaard
I think at this point we only use FAST interrupts for the clock
interrupt and IPIs. Hmm. Maybe the AT / PS2 keyboard interrupt
too.
Unfortunately they are important enough that they have to remain
FAST interrupts so we still need the general support. In particular,
the timer interrupt is used to collect statistics and for that it
needs a trapframe which tells it what it interrupted. Meaning it
has to be a FAST interrupt.
The IPI interrupt has to be FAST as well because the timer tick
interrupt sends an IPI to the other cpus to simulate their timer
ticks (well, it used to anyway... might not be the case any more
with the LAPIC timer being used now).
-Matt
More information about the Commits
mailing list