mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Remove a hack from KiTrap14. Put a hack in other place.
svn path=/trunk/; revision=39723
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user