Kernel: Threads can now be terminated mid execution

This commit is contained in:
Bananymous
2023-04-09 22:18:12 +03:00
parent df6e8a6562
commit f924ac9265
6 changed files with 48 additions and 19 deletions

View File

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