Kernel: Threads can now be terminated mid execution
This commit is contained in:
@@ -15,7 +15,6 @@ start_thread:
|
||||
movl 8(%esp), %ecx
|
||||
movl 4(%esp), %esp
|
||||
movl $0, %ebp
|
||||
movl $0, (%esp)
|
||||
pushl $exit_thread_trampoline
|
||||
sti
|
||||
jmp *%ecx
|
||||
|
||||
@@ -14,7 +14,6 @@ start_thread:
|
||||
movq %rdi, %rsp
|
||||
popq %rdi
|
||||
movq $0, %rbp
|
||||
movq $0, (%rsp)
|
||||
pushq $exit_thread_trampoline
|
||||
sti
|
||||
jmp *%rsi
|
||||
|
||||
Reference in New Issue
Block a user