Changeset 1921 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Apr 4, 2007 10:11:40 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATM.cpp
r1920 r1921 3953 3953 Assert(CPUMGetGuestCPL(pVM, CPUMCTX2CORE(pCtx)) == 0); 3954 3954 RTGCPTR pInstrGCFlat = SELMToFlat(pVM, pCtx->eflags, pCtx->cs, &pCtx->csHid, pInstrGC); 3955 AssertMsgReturn(pInstrGCFlat == pInstrGC, ("%04x:%VGv != %VGv eflags=%08x\n", pCtx->cs, pInstrGCFlat, pInstrGC, pCtx->eflags.u32), VERR_PATCHING_REFUSED); 3955 if (pInstrGCFlat != pInstrGC) 3956 { 3957 Log(("PATMR3InstallPatch: code selector not wide open: %04x:%VGv != %VGv eflags=%08x\n", pCtx->cs, pInstrGCFlat, pInstrGC, pCtx->eflags.u32)); 3958 return VERR_PATCHING_REFUSED; 3959 } 3956 3960 3957 3961 /** @note the OpenBSD specific check will break if we allow additional patches to be installed (int 3)) */
Note:
See TracChangeset
for help on using the changeset viewer.