Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 09:36:38 +0300
From:      Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To:        Zlatan Ibrahimovic <razzorback2005@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: clock software interrupt
Message-ID:  <20050914063638.GA258@pm514-9.comsys.ntu-kpi.kiev.ua>
In-Reply-To: <e53d4aed05091012343a4b4882@mail.gmail.com>
References:  <e53d4aed05091012343a4b4882@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050914063638.GA258>