[BACK]Return to pmap.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / powerpc / include / oea

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

Diff for /src/sys/arch/powerpc/include/oea/pmap.h between version 1.20.2.1 and 1.21

version 1.20.2.1, 2011/02/17 11:59:56 version 1.21, 2011/02/12 18:23:10
Line 117  extern int pmap_use_altivec;
Line 117  extern int pmap_use_altivec;
 #define pmap_is_modified(pg)            (pmap_query_bit((pg), PTE_CHG))  #define pmap_is_modified(pg)            (pmap_query_bit((pg), PTE_CHG))
 #define pmap_is_referenced(pg)          (pmap_query_bit((pg), PTE_REF))  #define pmap_is_referenced(pg)          (pmap_query_bit((pg), PTE_REF))
   
   #define pmap_phys_address(x)            (x)
   
 #define pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)  #define pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)  #define pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
   
Line 140  void pmap_procwr(struct proc *, vaddr_t,
Line 142  void pmap_procwr(struct proc *, vaddr_t,
 int pmap_pte_spill(pmap_t, vaddr_t, bool);  int pmap_pte_spill(pmap_t, vaddr_t, bool);
 void pmap_pinit(pmap_t);  void pmap_pinit(pmap_t);
   
 u_int powerpc_mmap_flags(paddr_t);  
 #define POWERPC_MMAP_FLAG_MASK  0xf  
 #define POWERPC_MMAP_FLAG_PREFETCHABLE  0x1  
 #define POWERPC_MMAP_FLAG_CACHEABLE     0x2  
   
 #define pmap_phys_address(ppn)          (ppn & ~POWERPC_MMAP_FLAG_MASK)  
 #define pmap_mmap_flags(ppn)            powerpc_mmap_flags(ppn)  
   
 static inline paddr_t vtophys (vaddr_t);  static inline paddr_t vtophys (vaddr_t);
   
 /*  /*
Line 214  int pmap_setup_segment0_map(int use_larg
Line 208  int pmap_setup_segment0_map(int use_larg
 #endif  #endif
   
 #define PMAP_MD_NOCACHE                 0x1000000  #define PMAP_MD_NOCACHE                 0x1000000
 #define PMAP_MD_PREFETCHABLE            0x2000000  
 #define PMAP_STEAL_MEMORY  #define PMAP_STEAL_MEMORY
 #define PMAP_NEED_PROCWR  #define PMAP_NEED_PROCWR
   

Legend:
Removed from v.1.20.2.1  
changed lines
  Added in v.1.21

CVSweb <webmaster@jp.NetBSD.org>