core: Move PageTable struct into Common.
This commit is contained in:
parent
2392e146b0
commit
93da8e0abf
16 changed files with 215 additions and 171 deletions
|
@ -31,7 +31,7 @@ namespace {
|
|||
*/
|
||||
void SetupMainThread(Process& owner_process, KernelCore& kernel, VAddr entry_point, u32 priority) {
|
||||
// Setup page table so we can write to memory
|
||||
SetCurrentPageTable(&owner_process.VMManager().page_table);
|
||||
Memory::SetCurrentPageTable(&owner_process.VMManager().page_table);
|
||||
|
||||
// Initialize new "main" thread
|
||||
const VAddr stack_top = owner_process.VMManager().GetTLSIORegionEndAddress();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue