Correct return value from syscall

This commit is contained in:
Mathieu Maret 2021-11-06 00:13:19 +01:00
parent 288663ad58
commit ec9d255b1c

View File

@ -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 */