mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Fix incorrect condition in HandleException function
This commit is contained in:
parent
2ddacf8e13
commit
52ec0a25bf
@ -249,7 +249,7 @@ nsa void HandleException(CPU::ExceptionFrame *Frame)
|
|||||||
HandleUnrecoverableException(Frame);
|
HandleUnrecoverableException(Frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Frame->cs == GDT_USER_CODE && Frame->cs == GDT_USER_DATA)
|
if (Frame->cs == GDT_USER_CODE && Frame->ss == GDT_USER_DATA)
|
||||||
{
|
{
|
||||||
if (UserModeExceptionHandler(Frame))
|
if (UserModeExceptionHandler(Frame))
|
||||||
goto ExceptionExit;
|
goto ExceptionExit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user