VirtualBox

Changeset 91874 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Oct 20, 2021 9:11:06 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147677
Message:

VMM: Removed PGM_WITHOUT_MAPPINGS and associated mapping code. [regression fix] bugref:9517

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp

    r91854 r91874  
    17001700 * @param   GCPhysLast      The last address of the RAM range.
    17011701 * @param   R0PtrNew        Ditto for R0.
     1702 * @param   fFlags          PGM_RAM_RANGE_FLAGS_FLOATING or zero.
    17021703 * @param   pszDesc         The description.
    17031704 * @param   pPrev           The previous RAM range (for linking).
    17041705 */
    17051706static int pgmR3PhysInitAndLinkRamRange(PVM pVM, PPGMRAMRANGE pNew, RTGCPHYS GCPhys, RTGCPHYS GCPhysLast,
    1706                                         RTR0PTR R0PtrNew, const char *pszDesc, PPGMRAMRANGE pPrev)
     1707                                        RTR0PTR R0PtrNew, uint32_t fFlags, const char *pszDesc, PPGMRAMRANGE pPrev)
    17071708{
    17081709    /*
     
    17141715    pNew->cb            = GCPhysLast - GCPhys + 1;
    17151716    pNew->pszDesc       = pszDesc;
     1717    pNew->fFlags        = fFlags;
    17161718    pNew->pvR3          = NULL;
    17171719    pNew->paLSPages     = NULL;
    1718     pNew->fFlags        = 0;
    17191720
    17201721    uint32_t const cPages = pNew->cb >> PAGE_SHIFT;
     
    18071808         */
    18081809        rc = pgmR3PhysInitAndLinkRamRange(pVM, pNew, GCPhys, GCPhys + ((RTGCPHYS)cRamPages << PAGE_SHIFT) - 1,
    1809                                           R0PtrChunk, pszDescChunk, *ppPrev);
     1810                                          R0PtrChunk, PGM_RAM_RANGE_FLAGS_FLOATING, pszDescChunk, *ppPrev);
    18101811        if (RT_SUCCESS(rc))
    18111812            *ppPrev = pNew;
     
    19281929        AssertLogRelMsgRCReturn(rc, ("rc=%Rrc cbRamRange=%zu\n", rc, cbRamRange), rc);
    19291930
    1930         rc = pgmR3PhysInitAndLinkRamRange(pVM, pNew, GCPhys, GCPhysLast, MMHyperCCToR0(pVM, pNew), pszDesc, pPrev);
     1931        rc = pgmR3PhysInitAndLinkRamRange(pVM, pNew, GCPhys, GCPhysLast, MMHyperCCToR0(pVM, pNew), 0 /*fFlags*/, pszDesc, pPrev);
    19311932        AssertLogRelMsgRCReturn(rc, ("rc=%Rrc cbRamRange=%zu\n", rc, cbRamRange), rc);
    19321933    }
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