Changeset 1919 in vbox for trunk/src/VBox
- Timestamp:
- Apr 4, 2007 10:05:02 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATM.cpp
r1918 r1919 3951 3951 /* Make sure the code selector is wide open; otherwise refuse. */ 3952 3952 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); 3954 3954 RTGCPTR pInstrGCFlat = SELMToFlat(pVM, pCtx->eflags, pCtx->cs, &pCtx->csHid, pInstrGC); 3955 3955 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.