Commit d64fdb08 authored by Committed by ROOLBrowse files
Use OS_TaskControl 0 to reset the SVC stack
Instead of manually resetting the SVC stack pointer when starting a new task, prefer to use the stack reset routine that's exposed by OS_TaskControl 0 in RISC OS Select / 5. If that routine isn't available, fall back to the old method of doing it manually. Requires Kernel-6_61 to build.
Showing with 26 additions and 14 deletions