This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: interrupt priority
- From: Nick Garnett <nickg at redhat dot com>
- To: Andrea Acquaviva <aacquaviva at deis dot unibo dot it>
- Cc: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>
- Date: 15 Feb 2002 16:46:48 +0000
- Subject: Re: [ECOS] interrupt priority
- References: <3C6D387A.382FA3D3@deis.unibo.it>
Andrea Acquaviva <aacquaviva@deis.unibo.it> writes:
> Hi all,
> I need some information about
> what is the meaning of the interrupt priority?
> Do it decide only what interrupt to serve when there are more than one
> interrupt requests or it affects also the priority of the dsr attached
> to the interrupt?
>
The interrupt priority supplied in cyg_interrupt_create() is used for
two purposes:
- If chained interrupts are enabled, it specifies the relative
position in the chain that the interrupt will be serviced.
- If the interrupt controller implements interrupt prioritization, it
will be used to set the hardware priority of the interrupt source.
DSRs are not prioritized, so it will have no effect on when the DSR is
run.
--
Nick Garnett, eCos Kernel Architect
Red Hat, Cambridge, UK
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss