Subject: Re: Interrupt
To: None <tech-kern@netbsd.org>
From: Paolo Losi <p.losi@lombardiacom.it>
List: tech-kern
Date: 08/02/2000 13:57:23
Ben Harris wrote:
>
> In article <3987DFD3.734056B3@dotcom.fr> you write:
> >I need to understand how interrupts work on NetBSD
> >I would like to find the interrupt handling function. I looked around
> >inn the sources, but I haven't been able to find it.
>
> First-level interrupt handling is generally done in machine-dependent code,
> so you should have thirty-odd interrupt handlers to look at. For example,
> the one for NetBSD/arm26 is in sys/arch/arm26/arm26/irq.c. All the other
> ports will have something similar.
... and for the higher level machine indipendent interface look at
splXXX()
functions (man 9 splx). This is the best way to track it down to the
machine
specific implemetation.
Paolo Losi