RTOS Context Switching
This post is going to be a deep-dive into how context switching works in my RTOS learning project. 90% of the code is going to be in ARM Assembly, so before we touch on anything else, below is a link to a “cheat sheet” of the ARM Assembly operations used in the context switching logic. It is by no means a comprehensive list, but it will be sufficient for understanding the assembly that is used in this context. ...