[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why _ThreadProcessSignalsFromIrq() in new exception processing?

Sergei Organov wrote:

> Aren't On/Off/isOn called while interrupt processing as well? If not, then
> their usefulness is even less than I thought before.

Look at the code!!! And show me your ugly code to handle the SIU/CPM or 
OpenPIC 8259 management in each ISR.

> Overall, this discussion seems to be too abstract to me. You think you are
> right, I think I'm right. Care to give an example code that certainly benefits
> from the approach you've taken in the new exception processing when compared
> to other possible approaches?

I showed my code as it is available in RTEMS now, show me your ugly ISR 
service routine...

   /  `                   	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