kern: implement init through InterruptTaskManager.Initialize()
This commit is contained in:
@@ -85,7 +85,7 @@ namespace ams::kern::arm64 {
|
||||
|
||||
/* If the task isn't the dummy task, we should add it to the queue. */
|
||||
if (task != GetDummyInterruptTask()) {
|
||||
MESOSPHERE_TODO("Kernel::GetInterruptTaskManager().Enqueue(task);");
|
||||
Kernel::GetInterruptTaskManager().EnqueueTask(task);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
@@ -39,6 +39,14 @@ namespace ams::kern::arm64 {
|
||||
}
|
||||
}
|
||||
|
||||
void KSupervisorPageTable::Activate() {
|
||||
/* Initialize, using process id = 0xFFFFFFFF */
|
||||
this->page_table.Initialize(0xFFFFFFFF);
|
||||
|
||||
/* Invalidate entire TLB. */
|
||||
cpu::InvalidateEntireTlb();
|
||||
}
|
||||
|
||||
void KSupervisorPageTable::Finalize(s32 core_id) {
|
||||
MESOSPHERE_TODO_IMPLEMENT();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user