[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 NoUserApc
LOCAL IrqlPassive
LOCAL irql_ok
#if DBG
/* Check previous irql */
mov rax, cr8
cmp [rbp + KTRAP_FRAME_PreviousIrql], al
#ifdef _USE_ML
je .irql_ok
#else
je 1f
#endif
int 3
#ifdef _USE_ML
.irql_ok:
#else
1:
#endif
je irql_ok
int HEX(2c)
irql_ok:
#endif
if (Flags AND TF_SEGMENTS)