Quality RTOS & Embedded Software

  Real time embedded FreeRTOS RSS feed  

RTOS Context Switch – Step 6
[Detailed Example]

Restore the TaskB context

AtoB5.gif

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

Only the program counter remains on the stack.

Next: RTOS Implementation – Detailed Example Step 7

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.