Kernel: Fix framepointers on started threads

This commit is contained in:
Bananymous
2023-04-08 00:31:57 +03:00
parent 25ddc24754
commit 3f01f936a1
2 changed files with 2 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ start_thread:
movq %rdi, %rsp
popq %rdi
movq $0, %rbp
movq $0, (%rsp)
pushq $exit_thread_trampoline
sti
jmp *%rsi