Correct return value from syscall
This commit is contained in:
parent
288663ad58
commit
ec9d255b1c
@ -57,7 +57,7 @@ syscallHandler:
|
|||||||
addl $8, %esp
|
addl $8, %esp
|
||||||
|
|
||||||
/* store the do_syscall return value into interrupted context */
|
/* store the do_syscall return value into interrupted context */
|
||||||
movl %eax, 12(%esp)
|
movl %eax, 32(%esp)
|
||||||
|
|
||||||
/* Set the MMU configuration to that of the user thread's process */
|
/* Set the MMU configuration to that of the user thread's process */
|
||||||
pushl %esp /* user_ctxt */
|
pushl %esp /* user_ctxt */
|
||||||
|
Loading…
Reference in New Issue
Block a user