Doing a yield no longer raises a software interrupt. Instead it just saves all the callee saved registers, ip, sp and return value. Because yield is only called in the kernel, it can just restore registers and jump to the target address. There is never a need to use iret :) |
||
|---|---|---|
| .. | ||
| arch | ||
| font | ||
| include/kernel | ||
| kernel | ||
| klibc | ||
| CMakeLists.txt | ||
| icxxabi.cpp | ||
| ubsan.cpp | ||