kern: implement init through InterruptTaskManager.Initialize()

This commit is contained in:
Michael Scire
2020-02-10 02:26:00 -08:00
parent 3c78bc4dbf
commit 3bcc4adb5c
8 changed files with 87 additions and 6 deletions

View File

@@ -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;

View File

@@ -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();
}