Add support for some basic system calls and args handling correctly. #29

Merged
sb3923 merged 49 commits from system-calls into master 2024-11-07 19:36:30 +00:00
5 changed files with 346 additions and 7 deletions
Showing only changes of commit b2764cfa0c - Show all commits

View File

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