Homepage  

RTOS Context Switch - Step 6
[Detailed Example]

Restore the TaskB context


portRESTORE_CONTEXT() completes by restoring the TaskB context from its stack into the appropriate processor registers.

AtoB5.gif

Only the program counter remains on the stack.


Next: RTOS Implementation - Detailed Example Step 7

Copyright (C) 2003 - 2008 Richard Barry
Any and all data, files, source code, html content and documentation included in the FreeRTOS distribution or available on this site are the exclusive property of Richard Barry. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Richard Barry.