Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Commit

Permalink
changes for proj 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Frankencelery committed Oct 26, 2012
1 parent 1645f56 commit c0309c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/userprog/process.c
Expand Up @@ -583,7 +583,8 @@ init_cmd_line (uint8_t *kpage, uint8_t *upage, const char *cmd_line,
return false; return false;


/* Set initial stack pointer. */ /* Set initial stack pointer. */
*esp = upage + ofs; *esp = PHYS_BASE - 12;
//*esp = upage + ofs;
return true; return true;
} }


Expand Down

0 comments on commit c0309c9

Please sign in to comment.