mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 01:13:38 +00:00
[NTOS]
- 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:
parent
27a2217c5b
commit
70f0698953
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue