diff options
| author | Hanjie Wu <hanjiew@andrew.cmu.edu> | 2023-04-23 04:12:07 -0400 |
|---|---|---|
| committer | Hanjie Wu <hanjiew@andrew.cmu.edu> | 2023-04-23 04:12:07 -0400 |
| commit | 981a10da84b0b33d7c169566b4faa9093dff6431 (patch) | |
| tree | 0de48dc7ef997fdbeea31a1e535002c2c443ba34 /kern/syscall_asm.S | |
| parent | f33b6e947b7d61b62e28983fcc54a08f15fca509 (diff) | |
fix
Diffstat (limited to 'kern/syscall_asm.S')
| -rw-r--r-- | kern/syscall_asm.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/syscall_asm.S b/kern/syscall_asm.S index ca1c5a5..f3b3552 100644 --- a/kern/syscall_asm.S +++ b/kern/syscall_asm.S @@ -26,8 +26,8 @@ sys_\name: mov $SEGSEL_KERNEL_FS, %eax mov %ax, %fs cld - push $\index push %esp + push $\index call pv_handle_syscall add $0x8, %esp test %eax, %eax @@ -98,8 +98,8 @@ sys_\name: mov $SEGSEL_KERNEL_FS, %eax mov %ax, %fs cld - push $\index push %esp + push $\index call pv_handle_syscall add $0x8, %esp jmp return_to_user /* check pending exit before iret */ |
