VirtualBox

Changeset 1919 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 4, 2007 10:05:02 AM (18 years ago)
Author:
vboxsync
Message:

Corrected assertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/PATM.cpp

    r1918 r1919  
    39513951    /* Make sure the code selector is wide open; otherwise refuse. */
    39523952    CPUMQueryGuestCtxPtr(pVM, &pCtx);
    3953     Assert(!pCtx->eflags.Bits.u1VM && (pCtx->ss & X86_SEL_RPL) == 0);
     3953    Assert(!pCtx->eflags.Bits.u1VM && CPUMGetGuestCPL(pVM, CPUMCTX2CORE(pCtx)) == 0);
    39543954    RTGCPTR pInstrGCFlat = SELMToFlat(pVM, pCtx->eflags, pCtx->cs, &pCtx->csHid, pInstrGC);
    39553955    AssertMsgReturn(pInstrGCFlat == pInstrGC, ("%04x:%VGv != %VGv eflags=%08x\n", pCtx->cs, pInstrGCFlat, pInstrGC, pCtx->eflags.u32), VERR_PATCHING_REFUSED);
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