Changeset 1157 in vbox
- Timestamp:
- Mar 2, 2007 2:22:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r1090 r1157 1292 1292 */ 1293 1293 PATMRawLeave(pVM, pCtxCore, rc); 1294 /** @todo See what happens if we remove this. */ 1295 if ((pCtxCore->ds & X86_SEL_RPL) == 1) 1296 pCtxCore->ds &= ~X86_SEL_RPL; 1297 if ((pCtxCore->es & X86_SEL_RPL) == 1) 1298 pCtxCore->es &= ~X86_SEL_RPL; 1299 if ((pCtxCore->fs & X86_SEL_RPL) == 1) 1300 pCtxCore->fs &= ~X86_SEL_RPL; 1301 if ((pCtxCore->gs & X86_SEL_RPL) == 1) 1302 pCtxCore->gs &= ~X86_SEL_RPL; 1294 if (!pCtxCore->eflags.Bits.u1VM) 1295 { 1296 /** @todo See what happens if we remove this. */ 1297 if ((pCtxCore->ds & X86_SEL_RPL) == 1) 1298 pCtxCore->ds &= ~X86_SEL_RPL; 1299 if ((pCtxCore->es & X86_SEL_RPL) == 1) 1300 pCtxCore->es &= ~X86_SEL_RPL; 1301 if ((pCtxCore->fs & X86_SEL_RPL) == 1) 1302 pCtxCore->fs &= ~X86_SEL_RPL; 1303 if ((pCtxCore->gs & X86_SEL_RPL) == 1) 1304 pCtxCore->gs &= ~X86_SEL_RPL; 1305 } 1303 1306 } 1304 1307
Note:
See TracChangeset
for help on using the changeset viewer.