Skip to contentSkip to conversation

smp_apic_timer_interrupt entry point

DISCUSSION Darren Hart 2 participants 2 messages Nov 20, 2004

lore
Share & tools
lore
#0 lore raw

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,

Signature · 1 line
Darren Hart <[email protected]>
#1 lore raw
Quoted 8 lines · Darren Hart

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.

Signature · 3 lines
Steven Rostedt
Senior Engineer
Kihon Technologies