VirtualBox

Ignore:
Timestamp:
Feb 2, 2009 12:55:06 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42330
Message:

REM: segment forced sync, cleanups

File:
1 edited

Legend:

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

    r16342 r16455  
    690690void helper_sync_seg(uint32_t reg)
    691691{
    692     assert(env->segs[reg].newselector != 0);
    693     sync_seg(env, reg, env->segs[reg].newselector);
     692    if (env->segs[reg].newselector)
     693        sync_seg(env, reg, env->segs[reg].newselector);
    694694}
    695695#endif
     
    56815681        /* For some reasons, it works even w/o save/restore of the jump buffer, so as code is
    56825682           time critical - let's not do that */
    5683 #if 0
     5683#ifdef FORCE_SEGMENT_SYNC
    56845684        memcpy(&old_buf, &env1->jmp_env, sizeof(old_buf));
    56855685#endif
     
    57155715            env1->old_exception = -1;
    57165716        }
    5717 #if 0
     5717#ifdef FORCE_SEGMENT_SYNC
    57185718        memcpy(&env1->jmp_env, &old_buf, sizeof(old_buf));
    57195719#endif
     
    70017001};
    70027002#endif /* VBOX */
    7003 
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette