Changeset 48065 in vbox
- Timestamp:
- Aug 26, 2013 3:04:19 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/op_helper.c
r48064 r48065 230 230 target_ulong ptr; 231 231 232 #ifdef VBOX233 /* Trying to load a selector with CPL=1? */234 /** @todo this is a hack to correct the incorrect checking order for pending interrupts in the patm iret replacement code (corrected in the ring-1 version) */235 /** @todo in theory the iret could fault and we'd still need this. */236 /** @todo r=bird: In fact this is just a log statement and has no function at237 * all beyond that as the selector RPL is NOT used in this function!238 * Guess this code lived elsewhere and got modified over time as well239 * as obsoleted. */240 if ((env->hflags & HF_CPL_MASK) == 0 && (selector & 3) == 1 && (env->state & CPU_RAW_RING0) && !EMIsRawRing1Enabled(env->pVM))241 {242 Log(("RPL 1 -> sel %04X -> %04X\n", selector, selector & 0xfffc));243 selector = selector & 0xfffc;244 }245 #endif /* VBOX */246 247 232 if (selector & 0x4) 248 233 dt = &env->ldt;
Note:
See TracChangeset
for help on using the changeset viewer.