VirtualBox

Changeset 48065 in vbox


Ignore:
Timestamp:
Aug 26, 2013 3:04:19 PM (11 years ago)
Author:
vboxsync
Message:

load_segment: on second though, just remove the bogus log statement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/target-i386/op_helper.c

    r48064 r48065  
    230230    target_ulong ptr;
    231231
    232 #ifdef VBOX
    233     /* 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 at
    237      *        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 well
    239      *        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        
    247232    if (selector & 0x4)
    248233        dt = &env->ldt;
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