Re: git: Revert "IO APIC: Assign pins dedicated to PCI in the ea

看板DFBSD_commit作者時間16年前 (2009/11/11 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/6 (看更多)
: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
文章代碼(AID): #1A-Qfjwc (DFBSD_commit)
討論串 (同標題文章)
文章代碼(AID): #1A-Qfjwc (DFBSD_commit)