mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-06-02 01:37:57 +00:00
Fix page table update bug in scheduler
This commit is contained in:
parent
603a21c3d2
commit
8386e44fda
@ -704,7 +704,8 @@ namespace Tasking::Scheduler
|
|||||||
}
|
}
|
||||||
|
|
||||||
this->SchedulerTicks.store(size_t(TimeManager->GetCounter() - SchedTmpTicks));
|
this->SchedulerTicks.store(size_t(TimeManager->GetCounter() - SchedTmpTicks));
|
||||||
CurrentCPU->CurrentProcess->PageTable->Update();
|
if (CurrentCPU->CurrentThread->Registers.cs != GDT_KERNEL_CODE)
|
||||||
|
CurrentCPU->CurrentProcess->PageTable->Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
nsa NIF void Custom::OnInterruptReceived(CPU::TrapFrame *Frame)
|
nsa NIF void Custom::OnInterruptReceived(CPU::TrapFrame *Frame)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user