Changeset 93931 in vbox for trunk/src/bldprogs
- Timestamp:
- Feb 24, 2022 4:02:00 PM (3 years ago)
- Location:
- trunk/src/bldprogs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/scm.cpp
r93687 r93931 2919 2919 case SCMOPT_ONLY_GUEST_HOST_PAGE: 2920 2920 RTPrintf(" No PAGE_SIZE, PAGE_SHIFT or PAGE_OFFSET_MASK allowed, must have\n" 2921 " GUEST_ or HOST_ prefix. Default: %RTbool\n", g_Defaults.fOnlyGuestHostPage); 2921 " GUEST_ or HOST_ prefix. Also forbids use of PAGE_BASE_MASK,\n" 2922 " PAGE_BASE_HC_MASK and PAGE_BASE_GC_MASK Default: %RTbool\n", g_Defaults.fOnlyGuestHostPage); 2922 2923 break; 2923 2924 case SCMOPT_NO_ASM_MEM_PAGE_USE: -
trunk/src/bldprogs/scmrw.cpp
r93686 r93931 3254 3254 /** 3255 3255 * 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. 3257 3258 * 3258 3259 * @returns true if modifications were made, false if not. … … 3272 3273 { RT_STR_TUPLE("PAGE_SHIFT") }, 3273 3274 { 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") }, 3274 3278 { RT_STR_TUPLE("ASMMemIsZeroPage") }, 3275 3279 { RT_STR_TUPLE("ASMMemZeroPage") }, 3276 3280 }; 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; 3279 3283 3280 3284 uint32_t iLine = 0;
Note:
See TracChangeset
for help on using the changeset viewer.