[ECOS] interrupt priority

Nick Garnett nickg@redhat.com
Fri Feb 15 08:46:00 GMT 2002


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



More information about the Ecos-discuss mailing list