mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +00:00
Remove a hack from KiTrap14. Put a hack in other place.
svn path=/trunk/; revision=39723
This commit is contained in:
parent
4bd719527f
commit
f8a9311089
|
@ -389,6 +389,9 @@ SetStack:
|
|||
|
||||
/* Checking NPX, disable interrupts now */
|
||||
mov eax, [esi+KTHREAD_INITIAL_STACK]
|
||||
|
||||
/* HACK */
|
||||
mov ecx, [eax - 4]
|
||||
cli
|
||||
|
||||
/* Get the NPX State */
|
||||
|
|
|
@ -1924,10 +1924,6 @@ _KiTrap14:
|
|||
NoFixUp:
|
||||
mov edi, cr2
|
||||
|
||||
/* ROS HACK: Sometimes we get called with INTS DISABLED! WTF? */
|
||||
test dword ptr [ebp+KTRAP_FRAME_EFLAGS], EFLAGS_INTERRUPT_MASK
|
||||
je HandlePf
|
||||
|
||||
/* Enable interrupts and check if we got here with interrupts disabled */
|
||||
sti
|
||||
test dword ptr [ebp+KTRAP_FRAME_EFLAGS], EFLAGS_INTERRUPT_MASK
|
||||
|
|
Loading…
Reference in a new issue