Changeset 2840 in vbox
- Timestamp:
- May 24, 2007 2:47:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/op.c
r2422 r2840 495 495 sync_seg(env, idx, env->segs[idx].newselector); 496 496 } 497 #if 0 497 498 /* Loading a null selector into a segment register is valid, but using it is most definitely not! */ 498 499 if ( (env->cr[0] & (CR0_PE_MASK|CR0_PG_MASK)) == (CR0_PE_MASK|CR0_PG_MASK) … … 501 502 raise_exception(EXCP0D_GPF); 502 503 } 504 #endif 503 505 A0 = (uint32_t)env->segs[idx].base; 504 506 FORCE_RET(); … … 516 518 sync_seg(env, idx, env->segs[idx].newselector); 517 519 } 520 #if 0 518 521 /* Loading a null selector into a segment register is valid, but using it is most definitely not! */ 519 522 if ( (env->cr[0] & (CR0_PE_MASK|CR0_PG_MASK)) == (CR0_PE_MASK|CR0_PG_MASK) … … 522 525 raise_exception(EXCP0D_GPF); 523 526 } 527 #endif 524 528 A0 = (uint32_t)(A0 + env->segs[idx].base); 525 529 FORCE_RET();
Note:
See TracChangeset
for help on using the changeset viewer.