- Timestamp:
- Jun 4, 2007 12:42:50 PM (18 years ago)
- Location:
- trunk/src/recompiler
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r2981 r3023 1595 1595 #endif 1596 1596 Log(("remR3NotifyTrap: uTrap=%x error=%x next_eip=%VGv eip=%VGv cr2=%08x\n", uTrap, uErrorCode, pvNextEIP, env->eip, env->cr[2])); 1597 if(uTrap < 0x20) 1597 if( uTrap < 0x20 1598 && (env->cr[0] & X86_CR0_PE)) 1598 1599 { 1599 1600 #ifdef DEBUG 1600 1601 remR3DisasInstr(env, 1, "remR3NotifyTrap: "); 1601 1602 #endif 1602 if(pVM->rem.s.uPendingException == uTrap && ++pVM->rem.s.cPendingExceptions > 128)1603 if(pVM->rem.s.uPendingException == uTrap && ++pVM->rem.s.cPendingExceptions > 512) 1603 1604 { 1604 1605 LogRel(("VERR_REM_TOO_MANY_TRAPS -> uTrap=%x error=%x next_eip=%VGv eip=%VGv cr2=%08x\n", uTrap, uErrorCode, pvNextEIP, env->eip, env->cr[2])); -
trunk/src/recompiler/cpu-exec.c
r2422 r3023 511 511 } 512 512 #endif /* !DEBUG_bird */ 513 //{ 514 //static int blaat = 0; 515 516 //if (env->eip == 0xc03f3c27 && ++blaat == 2) 517 // env->state |= CPU_EMULATE_SINGLE_STEP; 518 //} 513 519 if(env->state & CPU_EMULATE_SINGLE_STEP) 514 520 { 515 521 #ifdef DEBUG_bird 516 522 static int s_cTimes = 0; 517 if (s_cTimes++ > 10000 00)523 if (s_cTimes++ > 10000) 518 524 { 519 525 RTLogPrintf("Enough stepping!\n"); -
trunk/src/recompiler/target-i386/helper.c
r2465 r3023 4270 4270 env = env1; 4271 4271 4272 if (env->eflags & X86_EFL_VM) 4272 if ( env->eflags & X86_EFL_VM 4273 || !(env->cr[0] & X86_CR0_PE)) 4273 4274 { 4274 4275 load_seg_vm(seg_reg, selector);
Note:
See TracChangeset
for help on using the changeset viewer.