This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: interrupt priority


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]