[<prev] [next>] [day] [month] [year] [list]
Message-id: <47F9368E.7070107@shaw.ca>
Date: Sun, 06 Apr 2008 14:46:06 -0600
From: Robert Hancock <hancockr@...w.ca>
To: YM Yen <yminyen@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Hooking to APIC timer on SMP 32-bit X86 system
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists