[NTOS:KE/x64] Remove GCC vs ML hack

This commit is contained in:
Timo Kreuzer 2023-11-07 01:02:12 +02:00
parent adeaba1604
commit dfcf07b825

View file

@ -166,22 +166,15 @@ MACRO(ExitTrap, Flags)
LOCAL IntsEnabled LOCAL IntsEnabled
LOCAL NoUserApc LOCAL NoUserApc
LOCAL IrqlPassive LOCAL IrqlPassive
LOCAL irql_ok
#if DBG #if DBG
/* Check previous irql */ /* Check previous irql */
mov rax, cr8 mov rax, cr8
cmp [rbp + KTRAP_FRAME_PreviousIrql], al cmp [rbp + KTRAP_FRAME_PreviousIrql], al
#ifdef _USE_ML je irql_ok
je .irql_ok int HEX(2c)
#else irql_ok:
je 1f
#endif
int 3
#ifdef _USE_ML
.irql_ok:
#else
1:
#endif
#endif #endif
if (Flags AND TF_SEGMENTS) if (Flags AND TF_SEGMENTS)