diff --git a/core/panic/user.cpp b/core/panic/user.cpp index 798ed87..3f525fb 100644 --- a/core/panic/user.cpp +++ b/core/panic/user.cpp @@ -164,6 +164,7 @@ nsa bool UserModeExceptionHandler(CPU::ExceptionFrame *Frame) if (Handled) { debug("Page fault handled"); + Frame->cr2 = 0; thread->SetState(Tasking::Ready); return true; }