mirror of
https://github.com/reactos/reactos.git
synced 2025-04-29 18:48:53 +00:00
[NTOS:KE/x64] Remove GCC vs ML hack
This commit is contained in:
parent
adeaba1604
commit
dfcf07b825
1 changed files with 4 additions and 11 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue