VirtualBox

Changeset 2507 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 4, 2007 6:23:45 PM (18 years ago)
Author:
vboxsync
Message:

Drop the VINF_IOM_HC_IOPORT_READWRITE status code as it isn't really used. Made VINF_EM_LAST inclusive as per last/end convention used elsewhere in the VM.

Location:
trunk/src/VBox/VMM
Files:
5 edited

Legend:

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

    r2261 r2507  
    610610                rc = VMR3ReqProcess(pVM);
    611611                LogFlow(("dbgfr3VMMWait: VMR3ReqProcess -> %Vrc rcRet=%Vrc\n", rc, rcRet));
    612                 if (rc >= VINF_EM_FIRST && rc < VINF_EM_LAST)
     612                if (rc >= VINF_EM_FIRST && rc <= VINF_EM_LAST)
    613613                {
    614614                    switch (rc)
     
    662662                rcRet = rc;
    663663            else if (    rc >= VINF_EM_FIRST
    664                      &&  rc < VINF_EM_LAST
     664                     &&  rc <= VINF_EM_LAST
    665665                     &&  (rc < rcRet || rcRet == VINF_SUCCESS))
    666666                rcRet = rc;
  • trunk/src/VBox/VMM/VMM.cpp

    r2291 r2507  
    496496                    STAM_REG(pVM, &pVM->vmm.s.StatGCRetIORead,              STAMTYPE_COUNTER, "/VMM/GCRet/IORead",              STAMUNIT_OCCURENCES, "Number of VINF_IOM_HC_IOPORT_READ returns.");
    497497                    STAM_REG(pVM, &pVM->vmm.s.StatGCRetIOWrite,             STAMTYPE_COUNTER, "/VMM/GCRet/IOWrite",             STAMUNIT_OCCURENCES, "Number of VINF_IOM_HC_IOPORT_WRITE returns.");
    498                     STAM_REG(pVM, &pVM->vmm.s.StatGCRetIOReadWrite,         STAMTYPE_COUNTER, "/VMM/GCRet/IOReadWrite",         STAMUNIT_OCCURENCES, "Number of VINF_IOM_HC_IOPORT_READWRITE returns.");
    499498                    STAM_REG(pVM, &pVM->vmm.s.StatGCRetMMIORead,            STAMTYPE_COUNTER, "/VMM/GCRet/MMIORead",            STAMUNIT_OCCURENCES, "Number of VINF_IOM_HC_MMIO_READ returns.");
    500499                    STAM_REG(pVM, &pVM->vmm.s.StatGCRetMMIOWrite,           STAMTYPE_COUNTER, "/VMM/GCRet/MMIOWrite",           STAMUNIT_OCCURENCES, "Number of VINF_IOM_HC_MMIO_WRITE returns.");
  • trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp

    r2124 r2507  
    835835            /* no break; */
    836836        case VINF_PGM_SYNC_CR3: /** @todo Check this with Sander. */
    837         case VINF_IOM_HC_IOPORT_READWRITE:
    838837        case VINF_IOM_HC_IOPORT_READ:
    839838        case VINF_IOM_HC_IOPORT_WRITE:
  • trunk/src/VBox/VMM/VMMInternal.h

    r2283 r2507  
    270270    STAMCOUNTER                 StatGCRetIORead;
    271271    STAMCOUNTER                 StatGCRetIOWrite;
    272     STAMCOUNTER                 StatGCRetIOReadWrite;
    273272    STAMCOUNTER                 StatGCRetMMIORead;
    274273    STAMCOUNTER                 StatGCRetMMIOWrite;
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r2228 r2507  
    279279        case VINF_IOM_HC_IOPORT_WRITE:
    280280            STAM_COUNTER_INC(&pVM->vmm.s.StatGCRetIOWrite);
    281             break;
    282         case VINF_IOM_HC_IOPORT_READWRITE:
    283             STAM_COUNTER_INC(&pVM->vmm.s.StatGCRetIOReadWrite);
    284281            break;
    285282        case VINF_IOM_HC_MMIO_READ:
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