rtems_irq_mngt_init() forgets to enable interrupt?

Eric Valette eric.valette at free.fr
Mon Apr 19 09:36:08 UTC 2004


Rloase Flinne wrote:

> 	Well I think whether or not the IF is set depends on the attribute
> of the initial thread and this has nothing to do with the interrupt masking
> in the rtems_irq_mngt_init().

Sure but the rtems init thread should have explicitely interrupt enabled...

> 	And I think it could be a good programming practice to enable
> interrpt( dispatch ) after disable interrupt( dispatch ).

Feel free to redesign rtems init code _for all BSP_

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