mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:33:01 +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
1 changed files with 4 additions and 4 deletions
|
@ -140,10 +140,10 @@ MACRO(KiEnterTrap, Flags)
|
||||||
/* Initialize TrapFrame segment registers with sane values */
|
/* Initialize TrapFrame segment registers with sane values */
|
||||||
mov eax, 0x23
|
mov eax, 0x23
|
||||||
mov ecx, fs
|
mov ecx, fs
|
||||||
mov [esp - FrameSize + KTRAP_FRAME_DS], eax
|
mov [esp + KTRAP_FRAME_DS], eax
|
||||||
mov [esp - FrameSize + KTRAP_FRAME_ES], eax
|
mov [esp + KTRAP_FRAME_ES], eax
|
||||||
mov [esp - FrameSize + KTRAP_FRAME_FS], ecx
|
mov [esp + KTRAP_FRAME_FS], ecx
|
||||||
mov dword ptr [esp - FrameSize + KTRAP_FRAME_GS], 0
|
mov dword ptr [esp + KTRAP_FRAME_GS], 0
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue