VirtualBox

Changeset 2840 in vbox


Ignore:
Timestamp:
May 24, 2007 2:47:20 PM (18 years ago)
Author:
vboxsync
Message:

Solaris regression

File:
1 edited

Legend:

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

    r2422 r2840  
    495495        sync_seg(env, idx, env->segs[idx].newselector);
    496496    }
     497#if 0
    497498    /* Loading a null selector into a segment register is valid, but using it is most definitely not! */
    498499    if (    (env->cr[0] & (CR0_PE_MASK|CR0_PG_MASK)) == (CR0_PE_MASK|CR0_PG_MASK)
     
    501502        raise_exception(EXCP0D_GPF);
    502503    }
     504#endif
    503505    A0 = (uint32_t)env->segs[idx].base;
    504506    FORCE_RET();
     
    516518        sync_seg(env, idx, env->segs[idx].newselector);
    517519    }
     520#if 0
    518521    /* Loading a null selector into a segment register is valid, but using it is most definitely not! */
    519522    if (    (env->cr[0] & (CR0_PE_MASK|CR0_PG_MASK)) == (CR0_PE_MASK|CR0_PG_MASK)
     
    522525        raise_exception(EXCP0D_GPF);
    523526    }
     527#endif
    524528    A0 = (uint32_t)(A0 + env->segs[idx].base);
    525529    FORCE_RET();
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