- Fix incompatibility with newer KiEnterTrap implementation. Should fix spontaneous issues I possibly introduced with my previous commit, and finally fixes that VirtualBox issue.

svn path=/trunk/; revision=50107
This commit is contained in:
Aleksey Bragin 2010-12-22 21:27:31 +00:00
parent 27a2217c5b
commit 70f0698953

View file

@ -140,10 +140,10 @@ MACRO(KiEnterTrap, Flags)
/* Initialize TrapFrame segment registers with sane values */
mov eax, 0x23
mov ecx, fs
mov [esp - FrameSize + KTRAP_FRAME_DS], eax
mov [esp - FrameSize + KTRAP_FRAME_ES], eax
mov [esp - FrameSize + KTRAP_FRAME_FS], ecx
mov dword ptr [esp - FrameSize + KTRAP_FRAME_GS], 0
mov [esp + KTRAP_FRAME_DS], eax
mov [esp + KTRAP_FRAME_ES], eax
mov [esp + KTRAP_FRAME_FS], ecx
mov dword ptr [esp + KTRAP_FRAME_GS], 0
else