Handle swapgs in interrupts and scheduling
All checks were successful
Build documentation / build-and-deploy (push) Successful in 29s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 29s
This commit is contained in:
@@ -20,5 +20,11 @@ amd64_do_sched:
|
||||
movq %rsi, %cr3
|
||||
movq %rdi, %rsp
|
||||
pop_regs
|
||||
|
||||
movq 144(%rsp), %rax
|
||||
testb $3, %al
|
||||
jz 1f
|
||||
swapgs
|
||||
1:
|
||||
add $16, %rsp
|
||||
iretq
|
||||
|
||||
Reference in New Issue
Block a user