Permalink
Browse files

changes for proj 2

  • Loading branch information...
1 parent 1645f56 commit c0309c932369f0f13a160d2c8efe5ed789a8394e @Frankencelery Frankencelery committed Oct 26, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/userprog/process.c
View
@@ -583,7 +583,8 @@ init_cmd_line (uint8_t *kpage, uint8_t *upage, const char *cmd_line,
return false;
/* Set initial stack pointer. */
- *esp = upage + ofs;
+ *esp = PHYS_BASE - 12;
+ //*esp = upage + ofs;
return true;
}

0 comments on commit c0309c9

Please sign in to comment.