Problem with rtems directive

Joel Sherrill joel at OARcorp.com
Tue May 22 22:15:07 UTC 2001



Soumyadeb Mitra wrote:

> hello,
> 
>> Actually interrupts will be set to a different level as part of the
>> context switch.  So
>> when you get to the idle task, they are reenabled.  You probably do not have
>> the interrupt handler installed.  As soon as the context switch restores
>> the eflags
>> of the idle task, BAM the interrupt occurs with no handler.
> 
> 
> I have the interrupt handler installed,properly.
> 	I have a feeling that the rtems_task_suspend directive doesn't
> work properly(generates an exception) if there is a pending
> interrupt.

I somehow doubt it since nearly all the time with a new BSP you take an 
interrupt
as part of switching to the first task. :)

Does the exception handler indicate the source of the exception?

> 
> Regards
> Soumyadeb
> 
> 
> 




More information about the users mailing list