Changeset 1360 in vbox
- Timestamp:
- Mar 9, 2007 10:44:31 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r1359 r1360 1199 1199 */ 1200 1200 uint32_t efl = CPUMRawGetEFlags(pVM, pCtxCore); 1201 uint32_t cpl; 1202 1203 if (pCtxCore->eflags.Bits.u1VM) 1204 cpl = 3; 1205 else 1206 cpl = (pCtxCore->ss & X86_SEL_RPL); 1207 1208 if ( cpl > 1 1209 && X86_EFL_GET_IOPL(efl) < cpl 1201 1202 if ( ( (pCtxCore->ss & X86_SEL_RPL) > 1 1203 && X86_EFL_GET_IOPL(efl) < cpl) 1204 || pCtxCore->eflags.Bits.u1VM /* IOPL is ignored in V86 mode; always check TSS bitmap */ 1210 1205 ) 1211 1206 {
Note:
See TracChangeset
for help on using the changeset viewer.