public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: YM Yen <yminyen@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Hooking to APIC timer on SMP 32-bit X86 system
Date: Sun, 06 Apr 2008 14:46:06 -0600	[thread overview]
Message-ID: <47F9368E.7070107@shaw.ca> (raw)
In-Reply-To: <fa.ORNHzXNKWJTtCts8OxkQgfojzSk@ifi.uio.no>

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?

       reply	other threads:[~2008-04-06 20:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.ORNHzXNKWJTtCts8OxkQgfojzSk@ifi.uio.no>
2008-04-06 20:46 ` Robert Hancock [this message]
2008-04-06 19:48 Hooking to APIC timer on SMP 32-bit X86 system YM Yen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47F9368E.7070107@shaw.ca \
    --to=hancockr@shaw.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yminyen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox