Changeset 93945 in vbox for trunk/src/bldprogs/scmrw.cpp
- Timestamp:
- Feb 24, 2022 9:16:02 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/scmrw.cpp
r93933 r93945 3276 3276 { RT_STR_TUPLE("PAGE_BASE_GC_MASK") }, 3277 3277 { RT_STR_TUPLE("PAGE_BASE_HC_MASK") }, 3278 { RT_STR_TUPLE("PAGE_ADDRESS") }, 3279 { RT_STR_TUPLE("PHYS_PAGE_ADDRESS") }, 3278 3280 { RT_STR_TUPLE("ASMMemIsZeroPage") }, 3279 3281 { RT_STR_TUPLE("ASMMemZeroPage") }, 3280 3282 }; 3281 size_t const iFirstWord = pSettings->fOnlyGuestHostPage ? 0 : 5;3282 size_t const iEndWords = pSettings->fNoASMMemPageUse ? 7 : 5;3283 size_t const iFirstWord = pSettings->fOnlyGuestHostPage ? 0 : 7; 3284 size_t const iEndWords = pSettings->fNoASMMemPageUse ? 9 : 7; 3283 3285 3284 3286 uint32_t iLine = 0; … … 3306 3308 || !ScmIsCIdentifierChar(pchHit[cchWord])) ) 3307 3309 { 3308 if (i < 5)3310 if (i < 3) 3309 3311 ScmFixManually(pState, "%u:%zu: %s is not allow! Use GUEST_%s or HOST_%s instead.\n", 3310 3312 iLine, pchHit - pchLine + 1, pszWord, pszWord, pszWord); 3313 else if (i < 7) 3314 ScmFixManually(pState, "%u:%zu: %s is not allow! Rewrite using GUEST/HOST_PAGE_OFFSET_MASK.\n", 3315 iLine, pchHit - pchLine + 1, pszWord); 3311 3316 else 3312 3317 ScmFixManually(pState, "%u:%zu: %s is not allow! Use %s with correct page size instead.\n",
Note:
See TracChangeset
for help on using the changeset viewer.