Module 4 - 2
Module 4 - 2
INTERRUPT ROUTINES IN
RTOS
2. There are three i-th ISR,RTOS and j-th task in three memory blocks.
3. An i-th interrupt source causes the RTOS to call the i-th ISR and
block the j-th task. ISR_i executes after RTOS switches the context.
4. The routine does not send any messages to the RTOS for initiating the
i-th task.
5. The routine sends the IPCs for the needed parameters for a task.
6. The Parameters are stored at the memory allotted for the RTOS
inputs.
.
7 The RTOS now calls on return and restoration of the context and
switches the context to run later the codes needed for the jth or any other
task.
8. The ISR need not be short and simply generates and saves as the IPCS
the input parameters
10. RTOS schedules not only the tasks but also the ISRs and switches the
contexts between the tasks as well as the ISRs.
Summary
1. An ISR serving directly or merely informing the
RTOS.