The eCos, QNX, ChorusOs irq handling API
Valette Eric
eric.valette at free.fr
Thu Feb 20 13:15:20 UTC 2003
Sergei Organov wrote:
> Valette Eric <eric.valette at free.fr> writes:
> [...]
>
>>I forgot : no provision for defining priorities among interrupts ...
>
>
> What do you think is the purpose of 'cyg_priority_t priority' argument to
> cyg_interrupt_create() then?
May I ask how you intend to map a single numeric priority on a SIU/CPM
tandem or OpenPIC/dual 8259 to speak just of PPC.
On most modern processor with a single IRQ level, priorities are managed
by masks automatically/manually applied when a IRQ occurs. Do you intent
to stop all interrupts, recompute all the masks that need to be applied
each time you connect a single interrupt? Priority management should be
done at global level for all interrupts...
--
__
/ ` Eric Valette
/-- __ o _. 6 rue Paul Le Flem
(___, / (_(_(__ 35740 Pace
Tel: +33 (0)2 99 85 26 76 Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette at free.fr
More information about the users
mailing list