entry: remove redundant call to proc_current_regs
This commit is contained in:
parent
0297f4a34c
commit
ec542bd43e
1 changed files with 2 additions and 3 deletions
|
|
@ -197,6 +197,7 @@ irq 0x0F
|
|||
gate_syscall:
|
||||
cli
|
||||
save_context
|
||||
pushq %rax
|
||||
movq 0(%rax), %rdi
|
||||
movq 40(%rax), %rsi
|
||||
movq 32(%rax), %rdx
|
||||
|
|
@ -204,10 +205,8 @@ gate_syscall:
|
|||
movq 16(%rax), %r8
|
||||
movq 56(%rax), %r9
|
||||
call syscall
|
||||
pushq %rax
|
||||
call proc_current_regs
|
||||
popq %rdi
|
||||
movq %rdi, 0(%rax)
|
||||
movq %rax, 0(%rdi)
|
||||
call schedule
|
||||
|
||||
/* void return_from_irq(struct procregs *regs, paddr_t cr3); */
|
||||
|
|
|
|||
Loading…
Reference in a new issue