clock software interrupt

Andrey Simonenko simon at comsys.ntu-kpi.kiev.ua
Tue Sep 13 23:39:20 PDT 2005


On Sat, Sep 10, 2005 at 09:34:48PM +0200, Zlatan Ibrahimovic wrote:
> Hi folks,
> I've seen clock software interrupt thread (referring to clk_ithd in
> kern/kern_intr.c); watching to manpages I read that priority is used
> as vector for that thread. My question is how can I call this software
> handler? There's no track in the IDT for the associated handler...
> (ia32, for better check see i386/i386/exception.s).

The siopoll() function was mentioned in previous answer, but
I forgot to continue that sentence.  I guess that you need something
/sys/dev/sio does with clk_ithd, see in its sources how it adds
own handlers to clk_ithd and tty_ithd and schedules these handlers.


More information about the freebsd-hackers mailing list