- Fix a bug in the system call entry code. The wrong stack pointer was being loaded for KMMUENTRY_SYSCALL and KMMUENTRY_SYSCALL was using an offset that did not exist in certain situations.
- Load the correct stack pointer, but also change KMMUENTRY_CORE to not use stack-relative loads and stores. Instead it uses the trampframe directly via %gs:BLAH
26c7e964f6 kernel - Implement spectre mitigations part 3 (stabilization)
sys/cpu/x86_64/include/asmacros.h | 4 ++--
sys/platform/pc64/x86_64/exception.S | 7 +++++++
2 files changed, 9 insertions(+), 2 deletions(-)