Revert setup_stack pointer decrement 'hack' faking stack initialization
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user