Hello,
I'm writing a simple multi-tasking scheduler (a small OS, if you want).
Currently, execution is purely time-triggered, so I only handle the
IRQ interrupt. The handler only enables interrupts just before entering
user mode and giving control to the interrupted task.
However, I want to have system services and therefore I need to
handle SWI interrupts. The question that arises is: What happens
when the timer interrupt comes during the execution of the SWI
handler? Do I have to read the interrupt status flags and start
the IRQ handler code myself after enabling interrupts ?
Any help would be appreciated,
Dumitru