- Timestamp:
- Feb 24, 2022 9:16:02 PM (3 years ago)
- Location:
- trunk/src/bldprogs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/scm.cpp
r93931 r93945 2920 2920 RTPrintf(" No PAGE_SIZE, PAGE_SHIFT or PAGE_OFFSET_MASK allowed, must have\n" 2921 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 " PAGE_BASE_HC_MASK, PAGE_BASE_GC_MASK, PAGE_ADDRESS,\n" 2923 " PHYS_PAGE_ADDRESS. Default: %RTbool\n", g_Defaults.fOnlyGuestHostPage); 2923 2924 break; 2924 2925 case SCMOPT_NO_ASM_MEM_PAGE_USE: … … 2964 2965 case SCMOPT_ADD_ACTION: 2965 2966 RTPrintf(" Adds a rewriter action. The first use after a --treat-as will copy and\n" 2966 " the action list selected by the --treat-as. The act uion list will be\n"2967 " the action list selected by the --treat-as. The action list will be\n" 2967 2968 " flushed by --treat-as.\n"); 2968 2969 break; -
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.

