diff --git a/src/userprog/process.c b/src/userprog/process.c index 4c7cd8f..ce55d5c 100644 --- a/src/userprog/process.c +++ b/src/userprog/process.c @@ -438,7 +438,7 @@ setup_stack (void **esp) { success = install_page (((uint8_t *) PHYS_BASE) - PGSIZE, kpage, true); if (success) - *esp = PHYS_BASE; + *esp = PHYS_BASE - 12; // Temporary measure else palloc_free_page (kpage); }