- Timestamp:
- Mar 9, 2007 10:48:31 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19352
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r1360 r1361 1199 1199 */ 1200 1200 uint32_t efl = CPUMRawGetEFlags(pVM, pCtxCore); 1201 1202 if ( ( (pCtxCore->ss & X86_SEL_RPL) > 1 1201 uint32_t cpl = (pCtxCore->ss & X86_SEL_RPL); 1202 1203 if ( ( cpl > 1 1203 1204 && X86_EFL_GET_IOPL(efl) < cpl) 1204 1205 || pCtxCore->eflags.Bits.u1VM /* IOPL is ignored in V86 mode; always check TSS bitmap */ -
trunk/src/VBox/VMM/VMMAll/SELMAll.cpp
r1359 r1361 91 91 { 92 92 /* 93 * Deal with real mode first.93 * Deal with real & v86 mode first. 94 94 */ 95 95 if ( CPUMIsGuestInRealMode(pVM) … … 126 126 { 127 127 /* 128 * Deal with real mode first.128 * Deal with real & v86 mode first. 129 129 */ 130 130 if ( CPUMIsGuestInRealMode(pVM) … … 375 375 SELMDECL(int) SELMValidateAndConvertCSAddr(PVM pVM, X86EFLAGS eflags, RTSEL SelCPL, RTSEL SelCS, CPUMSELREGHID *pHiddenCSSel, RTGCPTR Addr, PRTGCPTR ppvFlat) 376 376 { 377 /* Special handling for V86 mode */ 378 if (eflags.Bits.u1VM) 377 /* 378 * Deal with real & v86 mode first. 379 */ 380 if ( CPUMIsGuestInRealMode(pVM) 381 || eflags.Bits.u1VM) 379 382 { 380 383 if (ppvFlat) … … 471 474 SELMDECL(bool) SELMIsSelector32Bit(PVM pVM, X86EFLAGS eflags, RTSEL Sel, CPUMSELREGHID *pHiddenSel) 472 475 { 473 if (eflags.Bits.u1VM) 476 /* 477 * Deal with real & v86 mode first. 478 */ 479 if ( CPUMIsGuestInRealMode(pVM) 480 || eflags.Bits.u1VM) 474 481 return false; 475 482
Note:
See TracChangeset
for help on using the changeset viewer.