Changeset 1136 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Mar 1, 2007 5:17:09 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r1127 r1136 1286 1286 { 1287 1287 RTGCUINTPTR pIretStack = (RTGCUINTPTR)pRegFrame->esp; 1288 RTGCUINTPTR eip, cs, esp, ss, eflags, ds, es, fs, gs ;1288 RTGCUINTPTR eip, cs, esp, ss, eflags, ds, es, fs, gs, uMask; 1289 1289 int rc; 1290 1290 … … 1303 1303 AssertRCReturn(rc, VERR_EM_INTERPRETER); 1304 1304 1305 pRegFrame->eip = eip ;1305 pRegFrame->eip = eip & 0xffff; 1306 1306 pRegFrame->cs = cs; 1307 1307 1308 uMask = X86_EFL_TF|X86_EFL_AC|X86_EFL_ID|X86_EFL_VM|X86_EFL_IF|X86_EFL_IOPL|X86_EFL_NT|X86_EFL_VIF|X86_EFL_VIP; 1309 1310 eflags = (pRegFrame->eflags.u32 & ~uMask) 1311 | (eflags & uMask); 1312 1308 1313 #ifndef IN_RING0 1309 1314 CPUMRawSetEFlags(pVM, pRegFrame, eflags);
Note:
See TracChangeset
for help on using the changeset viewer.