Fixed kernel hang on IPC wait

This commit is contained in:
Alex
2023-02-13 16:16:09 +02:00
parent dc43de81e8
commit 9416bd5cb9
3 changed files with 6 additions and 5 deletions

View File

@ -663,14 +663,14 @@ namespace CrashHandler
if (Frame->cs != GDT_USER_CODE && Frame->cs != GDT_USER_DATA)
{
debug("Exception in kernel mode");
debug("Exception in kernel mode (ip: %#lx, cr2: %#lx)", Frame->rip, PageFaultAddress);
if (TaskManager)
TaskManager->Panic();
Display->CreateBuffer(0, 0, SBIdx);
}
else
{
debug("Exception in user mode");
debug("Exception in user mode (ip: %#lx, cr2: %#lx)", Frame->rip, PageFaultAddress);
CPUData *data = GetCurrentCPU();
if (!data)
{