mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
[NTOSKRNL/V86VDM]
- Merge the EFLAGS register instead of overwriting it when restoring it from a POPF call. svn path=/trunk/; revision=58892
This commit is contained in:
parent
bd3b0e8ef4
commit
ec8ff3a906
|
@ -155,7 +155,7 @@ KiVdmOpcodePOPF(IN PKTRAP_FRAME TrapFrame,
|
||||||
V86EFlags |= EFLAGS_V86_MASK;
|
V86EFlags |= EFLAGS_V86_MASK;
|
||||||
|
|
||||||
/* Update EFlags in trap frame */
|
/* Update EFlags in trap frame */
|
||||||
TrapFrame->EFlags = V86EFlags;
|
TrapFrame->EFlags |= V86EFlags;
|
||||||
|
|
||||||
/* Check if ESP0 needs to be fixed up */
|
/* Check if ESP0 needs to be fixed up */
|
||||||
if (TrapEFlags & EFLAGS_V86_MASK) Ki386AdjustEsp0(TrapFrame);
|
if (TrapEFlags & EFLAGS_V86_MASK) Ki386AdjustEsp0(TrapFrame);
|
||||||
|
|
Loading…
Reference in a new issue