mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
bugfix: 在内核线程中,rflags未按照预期值进行设置的问题
This commit is contained in:
@ -27,8 +27,10 @@ ENTRY(kernel_thread_func)
|
||||
popq %rax
|
||||
movq %rax, %es
|
||||
popq %rax
|
||||
addq $0x38, %rsp
|
||||
movq %rdx, %rdi
|
||||
addq $0x20, %rsp
|
||||
popfq
|
||||
addq $0x10, %rsp
|
||||
movq %rdx, %rdi
|
||||
callq *%rbx
|
||||
movq %rax, %rdi
|
||||
callq process_do_exit
|
Reference in New Issue
Block a user