VirtualBox

Changeset 3216 in vbox


Ignore:
Timestamp:
Jun 21, 2007 3:47:31 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22179
Message:

Removed incorrect io return code changes.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp

    r3210 r3216  
    762762    {
    763763        rc = EMInterpretPortIO(pVM, pRegFrame, &Cpu, cbOp);
    764         if (rc == VINF_EM_RAW_EMULATE_INSTR)
    765         {
    766             /* First attempt to emulate directly before falling back to the recompiler */
    767             rc = (Cpu.pCurInstr->optype & OPTYPE_PORTIO_WRITE) ? VINF_IOM_HC_IOPORT_WRITE : VINF_IOM_HC_IOPORT_READ;
    768         }
    769 
    770764        return trpmGCExitTrap(pVM, rc, pRegFrame);
    771765    }
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r3197 r3216  
    13041304            break;
    13051305        }
    1306         if (rc == VINF_EM_RAW_EMULATE_INSTR)
    1307         {
    1308             /* First attempt to emulate directly before falling back to the recompiler */
    1309             rc = (IoExitInfo.n.u1Type == 0) ? VINF_IOM_HC_IOPORT_WRITE : VINF_IOM_HC_IOPORT_READ;
    1310         }
    13111306
    13121307#ifdef VBOX_STRICT
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r3197 r3216  
    17421742            break;
    17431743        }
    1744         if (rc == VINF_EM_RAW_EMULATE_INSTR)
    1745         {
    1746             /* First attempt to emulate directly before falling back to the recompiler */
    1747             rc = (fIOWrite) ? VINF_IOM_HC_IOPORT_WRITE : VINF_IOM_HC_IOPORT_READ;
    1748         }
    17491744
    17501745#ifdef VBOX_STRICT
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