Implement fake stack and temporary timer change #26

Merged
ed1223 merged 4 commits from user-programs into system-calls 2024-11-06 16:57:10 +00:00
6 changed files with 23 additions and 242 deletions
Showing only changes of commit fcb7e9e441 - Show all commits

View File

@@ -457,7 +457,7 @@ setup_stack (void **esp)
{
success = install_page (((uint8_t *) PHYS_BASE) - PGSIZE, kpage, true);
if (success)
*esp = PHYS_BASE;
*esp = PHYS_BASE - 12;
else
palloc_free_page (kpage);
}