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:
parent
15997d5849
commit
5a23692444
4 changed files with 26 additions and 13 deletions
4
entry.S
4
entry.S
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue