mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fixed x86 addrspace destroy code calling Page::Put with garbage.
This commit is contained in:
parent
a7c38cb997
commit
5e5991ce19
1 changed files with 5 additions and 0 deletions
|
@ -144,8 +144,13 @@ namespace Sortix
|
|||
|
||||
addr_t fractal1 = PMLS[2]->entry[1022];
|
||||
|
||||
#if 1
|
||||
Page::Put(fractal1 & PML_ADDRESS);
|
||||
Page::Put(currentdir & PML_ADDRESS);
|
||||
#else
|
||||
Page::Put(fractal1);
|
||||
Page::Put(currentdir);
|
||||
#endif
|
||||
|
||||
// Switch to the address space from when the world was originally
|
||||
// created. It should contain the kernel, the whole kernel, and
|
||||
|
|
Loading…
Add table
Reference in a new issue