Switches context from a regular Task to another regular Task.
- First argument (in
RDI): mutable pointer to the previous task’s stack pointer
- Second argument (in
RSI): the value of the next task’s stack pointer
This function is unsafe because it changes the content on both task’s stacks.