[BACK]Return to pmap.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / arm / arm32

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/arm/arm32/pmap.c between version 1.320 and 1.321

version 1.320, 2015/04/13 16:19:42 version 1.321, 2015/05/11 22:28:22
Line 6167  pmap_bootstrap(vaddr_t vstart, vaddr_t v
Line 6167  pmap_bootstrap(vaddr_t vstart, vaddr_t v
          */           */
         virtual_avail = (virtual_avail + arm_cache_prefer_mask) & ~arm_cache_prefer_mask;          virtual_avail = (virtual_avail + arm_cache_prefer_mask) & ~arm_cache_prefer_mask;
         nptes = (arm_cache_prefer_mask >> L2_S_SHIFT) + 1;          nptes = (arm_cache_prefer_mask >> L2_S_SHIFT) + 1;
           nptes = roundup(nptes, PAGE_SIZE / L2_S_SIZE);
         if (arm_pcache.icache_type != CACHE_TYPE_PIPT          if (arm_pcache.icache_type != CACHE_TYPE_PIPT
             && arm_pcache.icache_way_size > nptes * L2_S_SIZE) {              && arm_pcache.icache_way_size > nptes * L2_S_SIZE) {
                 nptes = arm_pcache.icache_way_size >> L2_S_SHIFT;                  nptes = arm_pcache.icache_way_size >> L2_S_SHIFT;
                   nptes = roundup(nptes, PAGE_SIZE / L2_S_SIZE);
         }          }
 #else  #else
         nptes = PAGE_SIZE / L2_S_SIZE;          nptes = PAGE_SIZE / L2_S_SIZE;

Legend:
Removed from v.1.320  
changed lines
  Added in v.1.321

CVSweb <webmaster@jp.NetBSD.org>