VirtualBox

Changeset 13828 in vbox


Ignore:
Timestamp:
Nov 5, 2008 1:33:17 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38819
Message:

CPUMR3DisasmInstrCPU: Don't trust MMHyperIsInsideArea if we're not using raw-mode.

File:
1 edited

Legend:

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

    r13827 r13828  
    21222122            /* translate the address */
    21232123            pState->pvPageGC = GCPtr & PAGE_BASE_GC_MASK;
    2124             if (MMHyperIsInsideArea(pState->pVM, pState->pvPageGC)) /** @todo r=bird: Don't do this if we're in VT-x/AMD-V mode. */
     2124            if (    MMHyperIsInsideArea(pState->pVM, pState->pvPageGC)
     2125                &&  !HWACCMIsEnabled(pState->pVM))
    21252126            {
    21262127                pState->pvPageR3 = MMHyperRCToR3(pState->pVM, (RTRCPTR)pState->pvPageGC);
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