VirtualBox

Changeset 2176 in vbox for trunk


Ignore:
Timestamp:
Apr 18, 2007 1:46:38 PM (18 years ago)
Author:
vboxsync
Message:

Don't check timer & r3 job in single stepping mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r2172 r2176  
    542542
    543543    /* Check for pending actions that force us to go back to ring 3. */
    544     if (VM_FF_ISPENDING(pVM, VM_FF_TO_R3 | VM_FF_TIMER))
    545     {
    546         VM_FF_CLEAR(pVM, VM_FF_TO_R3);
    547         STAM_COUNTER_INC(&pVM->hwaccm.s.StatSwitchToR3);
    548         STAM_PROFILE_ADV_STOP(&pVM->hwaccm.s.StatEntry, x);
    549         rc = VINF_EM_RAW_TO_R3;
    550         goto end;
    551     }
     544#ifdef DEBUG
     545    /* Intercept X86_XCPT_DB if stepping is enabled */
     546    if (!DBGFIsStepping(pVM))
     547#endif
     548    {
     549        if (VM_FF_ISPENDING(pVM, VM_FF_TO_R3 | VM_FF_TIMER))
     550        {
     551            VM_FF_CLEAR(pVM, VM_FF_TO_R3);
     552            STAM_COUNTER_INC(&pVM->hwaccm.s.StatSwitchToR3);
     553            STAM_PROFILE_ADV_STOP(&pVM->hwaccm.s.StatEntry, x);
     554            rc = VINF_EM_RAW_TO_R3;
     555            goto end;
     556        }
     557    }
     558
    552559    /* Pending request packets might contain actions that need immediate attention, such as pending hardware interrupts. */
    553560    if (VM_FF_ISPENDING(pVM, VM_FF_REQUEST))
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