[BACK]Return to pmap.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / arm / include / 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/include/arm32/pmap.h between version 1.111 and 1.112

version 1.111, 2012/09/11 15:28:14 version 1.112, 2012/09/22 00:33:38
Line 402  extern int pmap_needs_pte_sync;
Line 402  extern int pmap_needs_pte_sync;
  * we need to do PTE syncs.  If only SA-1 is configured, then evaluate   * we need to do PTE syncs.  If only SA-1 is configured, then evaluate
  * this at compile time.   * this at compile time.
  */   */
 #if (ARM_MMU_SA1 + ARM_MMU_V6 + ARM_MMU_V7 != 0) && (ARM_NMMUS == 1)  #if (ARM_MMU_SA1 + ARM_MMU_V6 != 0) && (ARM_NMMUS == 1)
 #define PMAP_INCLUDE_PTE_SYNC  #define PMAP_INCLUDE_PTE_SYNC
 #if (ARM_MMU_V7 > 0)  #if (ARM_MMU_V6 > 0)
 #if defined(CPU_CORTEXA8)  
 #if defined(CPU_CORTEXA5) || defined(CPU_CORTEXA7) || defined(CPU_CORTEXA9) \  
     || defined(CPU_CORTEXA15)  
 #define PMAP_NEEDS_PTE_SYNC     CPU_ID_IS_CORTEX_A8(curcpu()->ci_arm_cpuid)  
 #else  
 #define PMAP_NEEDS_PTE_SYNC     1  #define PMAP_NEEDS_PTE_SYNC     1
 #endif  
 #else  
 #define PMAP_NEEDS_PTE_SYNC     1  
 #endif  
 #else  
 #define PMAP_NEEDS_PTE_SYNC     1  
 #endif  
 #elif (ARM_MMU_SA1 == 0)  #elif (ARM_MMU_SA1 == 0)
 #define PMAP_NEEDS_PTE_SYNC     0  #define PMAP_NEEDS_PTE_SYNC     0
 #endif  #endif
   #endif
 #endif /* _KERNEL_OPT */  #endif /* _KERNEL_OPT */
   
 /*  /*

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112

CVSweb <webmaster@jp.NetBSD.org>