[zion] Use a separate stack for PF and GP faults in the kernel.

This commit is contained in:
Drew Galbraith 2023-08-01 23:11:12 -07:00
parent 259c64ef2a
commit e3a425e274
6 changed files with 28 additions and 2 deletions

View file

@ -38,6 +38,10 @@ extern "C" void zion() {
dbgln("[boot] Init Kernel Stack Manager.");
KernelStackManager::Init();
// The KernelStackManager sets Ist1 as a part of initialization so we can use
// it now.
UpdateFaultHandlersToIst1();
dbgln("[boot] Init syscalls.");
InitSyscall();