kern: allocate all TTBR0 pages during init, use procidx as asid
This commit is contained in:
@@ -374,7 +374,7 @@ namespace ams::kern {
|
||||
|
||||
/* Update the current page table. */
|
||||
if (next_process) {
|
||||
next_process->GetPageTable().Activate(next_process->GetProcessId());
|
||||
next_process->GetPageTable().Activate(next_process->GetSlabIndex(), next_process->GetProcessId());
|
||||
} else {
|
||||
Kernel::GetKernelPageTable().Activate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user