Date: Tue, 9 Sep 1997 22:58:01 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG Cc: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Subject: Re: interrupts in interrupt routines Message-ID: <19970909225801.RL53370@uriah.heep.sax.de> In-Reply-To: <199709090626.IAA18398@labinfo.iet.unipi.it>; from Luigi Rizzo on Sep 9, 1997 08:26:57 %2B0200 References: <199709090626.IAA18398@labinfo.iet.unipi.it>
index | next in thread | previous in thread | raw e-mail
As Luigi Rizzo wrote:
> am I correct in assuming that within an interrupt driver interrupst are
> masked according to the imask declared in the config line ?
>
> e.g.
>
> device pcm0 at isa? tty ... vectpr pcmintr
>
> results in pcmintr() being called at spltty ?
RTFM. :-)
SPL(9) FreeBSD Kernel Developer's Manual SPL(9)
NAME
splbio, splclock, splhigh, splimp, splnet, splsoftclock, splsofttty,
splstatclock, spltty, splvm, spl0, splx - manipulate interrupt priorities
...
Each driver that uses interrupts is normally assigned to an interrupt
priority group by a keyword in its config line. For example:
device foo0 at isa? port 0x0815 irq 12 tty vector foointr
assigns interrupt 12 to the ``tty'' priority group. The system automati-
cally arranges for interrupts in the xxx group to be called at a priority
>= splxxx ().
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970909225801.RL53370>
