VirtualBox

Changeset 21209 in vbox for trunk/src/VBox/VMM/EMHwaccm.cpp


Ignore:
Timestamp:
Jul 3, 2009 2:50:36 PM (15 years ago)
Author:
vboxsync
Message:

Updates for io instruction restarts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/EMHwaccm.cpp

    r21208 r21209  
    300300    STAM_PROFILE_START(&pVCpu->em.s.StatIOEmu, a);
    301301
     302    /* Try to restart the io instruction that was refused in ring-0. */
     303    rc = HWACCMR3RestartPendingIOInstr(pVM, pVCpu);
     304    if (rc == VINF_SUCCESS)
     305    {
     306        STAM_COUNTER_INC(&pVCpu->em.s.CTX_SUFF(pStats)->StatIoRestarted);
     307        STAM_PROFILE_STOP(&pVCpu->em.s.StatIOEmu, a);
     308        return rc;     /* rip already updated. */
     309    }
     310
    302311    /** @todo probably we should fall back to the recompiler; otherwise we'll go back and forth between HC & GC
    303312     *   as io instructions tend to come in packages of more than one
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