Changeset 1511 in vbox for trunk/src/recompiler
- Timestamp:
- Mar 15, 2007 12:39:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/op.c
r1510 r1511 496 496 sync_seg(env, idx, env->segs[idx].newselector); 497 497 } 498 #if 0 498 499 /* Loading a null selector into a segment register is valid, but using it is most definitely not! */ 499 500 if ( (env->cr[0] & (CR0_PE_MASK|CR0_PG_MASK)) == (CR0_PE_MASK|CR0_PG_MASK) … … 504 505 raise_exception(EXCP0D_GPF); 505 506 } 507 #endif 506 508 507 509 A0 = (uint32_t)env->segs[idx].base; … … 520 522 sync_seg(env, idx, env->segs[idx].newselector); 521 523 } 524 #if 0 522 525 /* Loading a null selector into a segment register is valid, but using it is most definitely not! */ 523 526 if ( (env->cr[0] & (CR0_PE_MASK|CR0_PG_MASK)) == (CR0_PE_MASK|CR0_PG_MASK) … … 528 531 raise_exception(EXCP0D_GPF); 529 532 } 530 533 #endif 531 534 A0 = (uint32_t)(A0 + env->segs[idx].base); 532 535 #else
Note:
See TracChangeset
for help on using the changeset viewer.