VirtualBox

Changeset 26105 in vbox


Ignore:
Timestamp:
Jan 30, 2010 1:34:37 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57091
Message:

PGMPhys.cpp: Count ROM pages correctly. Should fix most of the trouble in #4457.

File:
1 edited

Legend:

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

    r25546 r26105  
    22402240     * Update the base memory reservation if necessary.
    22412241     */
    2242     uint32_t cExtraBaseCost = fRamExists ? cPages : 0;
     2242    uint32_t cExtraBaseCost = fRamExists ? 0 : cPages;
    22432243    if (fFlags & PGMPHYS_ROM_FLAGS_SHADOWED)
    22442244        cExtraBaseCost += cPages;
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