VirtualBox

Changeset 26860 in vbox for trunk


Ignore:
Timestamp:
Feb 26, 2010 2:58:34 PM (15 years ago)
Author:
vboxsync
Message:

Allow user-mode instruction emulation in the pgm pool access handlers as we've passed the user/supervisor checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r26510 r26860  
    886886     */
    887887    uint32_t cbWritten;
    888     int rc2 = EMInterpretInstructionCPU(pVM, pVCpu, pDis, pRegFrame, pvFault, &cbWritten);
     888    int rc2 = EMInterpretInstructionCPUEx(pVM, pVCpu, pDis, pRegFrame, pvFault, &cbWritten, EMCODETYPE_ALL);
    889889    if (RT_SUCCESS(rc2))
    890890        pRegFrame->rip += pDis->opsize;
     
    10231023     */
    10241024    uint32_t cb;
    1025     int rc = EMInterpretInstructionCPU(pVM, pVCpu, pDis, pRegFrame, pvFault, &cb);
     1025    int rc = EMInterpretInstructionCPUEx(pVM, pVCpu, pDis, pRegFrame, pvFault, &cb, EMCODETYPE_ALL);
    10261026    if (RT_SUCCESS(rc))
    10271027        pRegFrame->rip += pDis->opsize;
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