entry: mov %r10 into %rcx after syscall entry
This commit is contained in:
parent
b801bdc5f0
commit
05e8a8d522
1 changed files with 1 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ irq 0x0F
|
|||
.global gate_syscall
|
||||
gate_syscall:
|
||||
cli
|
||||
movq %r10, %rcx
|
||||
save_context
|
||||
pushq %rax
|
||||
movq 0(%rax), %rdi
|
||||
|
|
|
|||
Loading…
Reference in a new issue