VirtualBox

Changeset 1360 in vbox


Ignore:
Timestamp:
Mar 9, 2007 10:44:31 AM (18 years ago)
Author:
vboxsync
Message:

Previous change was not correct for v86 code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IOMAll.cpp

    r1359 r1360  
    11991199     */
    12001200    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 */
    12101205       )
    12111206    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette