I am trying to hunt down the entry point to smp_apic_timer_interrupt()
for i386. grep found:
arch/x86_64/kernel/entry.S: apicinterrupt LOCAL_TIMER_VECTOR,smp_apic_timer_interrupt
but nothing for i386. I noticed that entry.o on i386 does contain the
string "smp_apic_timer_interrupt", is there some kind of linker magic
going on?
Thanks,
--
Darren Hart <[email protected]>
On Fri, 2004-11-19 at 16:53 -0800, Darren Hart wrote:
> I am trying to hunt down the entry point to smp_apic_timer_interrupt()
> for i386. grep found:
>
> arch/x86_64/kernel/entry.S: apicinterrupt LOCAL_TIMER_VECTOR,smp_apic_timer_interrupt
>
> but nothing for i386. I noticed that entry.o on i386 does contain the
> string "smp_apic_timer_interrupt", is there some kind of linker magic
> going on?
Not linker magic, but macro magic. Look again at entry.S at
BUILD_INTERRUPT. It adds the smp_ onto apic_timer_interrupt.
Then look where apic_timer_interrupt is used.
--
Steven Rostedt
Senior Engineer
Kihon Technologies