fix usertests to correctly test what happens when you call

exec() with arguments that don't fit on a single page.
This commit is contained in:
Robert Morris 2011-09-01 12:02:49 -04:00
parent 15997d5849
commit 5a23692444
4 changed files with 26 additions and 13 deletions

View file

@ -54,10 +54,10 @@ entry:
# Set up the stack pointer.
movl $(stack + STACK), %esp
# Call main(), which switches to executing at
# Jump to main(), and switch to executing at
# high addresses. The indirect call is needed because
# the assembler produces a PC-relative instruction
# for a direct call.
# for a direct jump.
mov $main, %eax
jmp *%eax