VirtualBox

Changeset 93931 in vbox for trunk/src/bldprogs/scmrw.cpp


Ignore:
Timestamp:
Feb 24, 2022 4:02:00 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150159
Message:

VMM,VMMDev,scm,VBox/param.h: Don't use PAGE_BASE_GC_MASK and friends in the VMM. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/scmrw.cpp

    r93686 r93931  
    32543254/**
    32553255 * Checks for PAGE_SIZE, PAGE_SHIFT and PAGE_OFFSET_MASK w/o a GUEST_ or HOST_
    3256  * prefix.
     3256 * prefix as well as banning PAGE_BASE_HC_MASK, PAGE_BASE_GC_MASK and
     3257 * PAGE_BASE_MASK.
    32573258 *
    32583259 * @returns true if modifications were made, false if not.
     
    32723273        { RT_STR_TUPLE("PAGE_SHIFT") },
    32733274        { RT_STR_TUPLE("PAGE_OFFSET_MASK") },
     3275        { RT_STR_TUPLE("PAGE_BASE_MASK") },
     3276        { RT_STR_TUPLE("PAGE_BASE_GC_MASK") },
     3277        { RT_STR_TUPLE("PAGE_BASE_HC_MASK") },
    32743278        { RT_STR_TUPLE("ASMMemIsZeroPage") },
    32753279        { RT_STR_TUPLE("ASMMemZeroPage") },
    32763280    };
    3277     size_t const iFirstWord = pSettings->fOnlyGuestHostPage ? 0 : 3;
    3278     size_t const iEndWords  = pSettings->fNoASMMemPageUse   ? 5 : 3;
     3281    size_t const iFirstWord = pSettings->fOnlyGuestHostPage ? 0 : 5;
     3282    size_t const iEndWords  = pSettings->fNoASMMemPageUse   ? 7 : 5;
    32793283
    32803284    uint32_t    iLine = 0;
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