VirtualBox

Ignore:
Timestamp:
Feb 6, 2022 9:37:24 AM (3 years ago)
Author:
vboxsync
Message:

VMM/PGMPool: Missed a coupld of MMHyperCCToR3/R0 calls. bugref:10093

File:
1 edited

Legend:

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

    r93554 r93619  
    24772477        const RTGCPHYS GCPhysPage = pPage->GCPhys & ~(RTGCPHYS)PAGE_OFFSET_MASK;
    24782478        rc = PGMHandlerPhysicalRegister(pVM, GCPhysPage, GCPhysPage + PAGE_OFFSET_MASK, pPool->hAccessHandlerType,
    2479                                         MMHyperCCToR3(pVM, pPage), MMHyperCCToR0(pVM, pPage), NIL_RTRCPTR, NIL_RTR3PTR /*pszDesc*/);
     2479                                        pgmPoolConvertPageToR3(pPool, pPage), pgmPoolConvertPageToR0(pPool, pPage),
     2480                                        NIL_RTRCPTR, NIL_RTR3PTR /*pszDesc*/);
    24802481        /** @todo we should probably deal with out-of-memory conditions here, but for now increasing
    24812482         * the heap size should suffice. */
     
    25552556            pNewHead->iMonitoredPrev = NIL_PGMPOOL_IDX;
    25562557            rc = PGMHandlerPhysicalChangeUserArgs(pVM, pPage->GCPhys & ~(RTGCPHYS)PAGE_OFFSET_MASK,
    2557                                                   MMHyperCCToR3(pVM, pNewHead), MMHyperCCToR0(pVM, pNewHead));
     2558                                                  pgmPoolConvertPageToR3(pPool, pNewHead),
     2559                                                  pgmPoolConvertPageToR0(pPool, pNewHead));
    25582560
    25592561            AssertFatalRCSuccess(rc);
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