public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Hooking to APIC timer on SMP 32-bit X86 system
@ 2008-04-06 19:48 YM Yen
  0 siblings, 0 replies; 2+ messages in thread
From: YM Yen @ 2008-04-06 19:48 UTC (permalink / raw)
  To: linux-kernel

hi,

I am looking for a way to program the APIC timer in a kernel module so 
that the module depends only on the hardware timer instead of the timer 
provided by the kernel. Programming the LVT is easy, however I can't 
find a way to have the Linux kernel to call my interrupt service routine 
in addition to smp_apic_timer_interrupt().

Is doing this even possible? There doesn't seem to be any sort of hook 
or notifier chain I can install a ISR to. Thanks in advance.

Regards,

YM

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Hooking to APIC timer on SMP 32-bit X86 system
       [not found] <fa.ORNHzXNKWJTtCts8OxkQgfojzSk@ifi.uio.no>
@ 2008-04-06 20:46 ` Robert Hancock
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Hancock @ 2008-04-06 20:46 UTC (permalink / raw)
  To: YM Yen; +Cc: linux-kernel

YM Yen wrote:
> hi,
> 
> I am looking for a way to program the APIC timer in a kernel module so 
> that the module depends only on the hardware timer instead of the timer 
> provided by the kernel. Programming the LVT is easy, however I can't 
> find a way to have the Linux kernel to call my interrupt service routine 
> in addition to smp_apic_timer_interrupt().
> 
> Is doing this even possible? There doesn't seem to be any sort of hook 
> or notifier chain I can install a ISR to. Thanks in advance.

It might be possible, but likely not easy and not recommended. Why is a 
kernel timer not sufficient for what you need?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-06 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.ORNHzXNKWJTtCts8OxkQgfojzSk@ifi.uio.no>
2008-04-06 20:46 ` Hooking to APIC timer on SMP 32-bit X86 system Robert Hancock
2008-04-06 19:48 YM Yen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox