VirtualBox

Ignore:
Timestamp:
Jun 4, 2007 12:42:50 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21776
Message:

only check for excessive faults when in protected mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r2981 r3023  
    15951595#endif
    15961596    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))
    15981599    {
    15991600#ifdef DEBUG
    16001601        remR3DisasInstr(env, 1, "remR3NotifyTrap: ");
    16011602#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)
    16031604        {
    16041605            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]));
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