Fix user apps randomly crashing (APIC, GDT layout, syscall entry)
All checks were successful
Build documentation / build-and-deploy (push) Successful in 23s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 23s
This commit is contained in:
@@ -2,9 +2,8 @@
|
||||
|
||||
.global amd64_do_sched
|
||||
amd64_do_sched:
|
||||
cli
|
||||
movq %rsi, %cr3
|
||||
movq %rdi, %rsp
|
||||
pop_regs
|
||||
add $16, %rsp
|
||||
addq $16, %rsp
|
||||
iretq
|
||||
|
||||
Reference in New Issue
Block a user