VirtualBox

Ignore:
Timestamp:
Feb 4, 2009 10:47:13 AM (16 years ago)
Author:
vboxsync
Message:

REM: safer fix for 3588

File:
1 edited

Legend:

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

    r16499 r16505  
    385385            raise_exception_err(EXCP0A_TSS, selector & 0xfffc);
    386386#ifdef VBOX
     387#if 0
     388        /** @todo: now we ignore loading 0 selectors, need to check what is correct once */
    387389        cpu_x86_load_seg_cache(env, seg_reg, selector,
    388390                               0, 0, 0);
     391#endif
    389392#endif
    390393    }
     
    57015704            }
    57025705            else
    5703                 tss_load_seg(seg_reg, selector);
     5706                helper_load_seg(seg_reg, selector);
     5707            /* We used to use tss_load_seg(seg_reg, selector); which, for some reasons ignored
     5708               loading 0 selectors, what, in order, lead to subtle problems like #3588 */
     5709
    57045710            env = savedenv;
    57055711
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