version 1.32, 2009/11/07 07:27:50 |
version 1.32.2.7, 2010/11/15 15:11:54 |
Line 109 typedef struct pmap_statistics *pmap_sta |
|
Line 109 typedef struct pmap_statistics *pmap_sta |
|
#define PMAP_KMPAGE 0x00000000 |
#define PMAP_KMPAGE 0x00000000 |
#endif /* PMAP_ENABLE_PMAP_KMPAGE */ |
#endif /* PMAP_ENABLE_PMAP_KMPAGE */ |
|
|
#define PMAP_MD_MASK 0xff000000 /* Machine-dependent bits */ |
#define PMAP_MD_MASK 0xff000000 /* [BOTH] Machine-dependent bits */ |
|
#define PMAP_PROT_MASK 0x0000000f /* [BOTH] VM_PROT_* bit mask */ |
|
|
|
/* |
|
* Cache Type Encodings |
|
*/ |
|
#define PMAP_CACHE_MASK 0x00000f00 |
|
|
|
/* All accesses are uncacheable. No speculative accesses. */ |
|
#define PMAP_NOCACHE 0x00000100 /* [BOTH] */ |
|
|
|
/* All accesses are uncacheable. No speculative accesses. |
|
* Writes are combined. */ |
|
#define PMAP_WRITE_COMBINE 0x00000200 /* [BOTH] */ |
|
|
|
/* On reads, cachelines become shared or exclusive if allocated on cache miss. |
|
* On writes, cachelines become modified on a cache miss. */ |
|
#define PMAP_WRITE_BACK 0x00000300 /* [BOTH] */ |
|
|
|
/* = PMAP_NOCACHE but overrideable (e.g. on x86 by MTRRs) */ |
|
#define PMAP_NOCACHE_OVR 0x00000400 /* [BOTH] */ |
|
|
|
|
#ifndef PMAP_EXCLUDE_DECLS /* Used in Sparc port to virtualize pmap mod */ |
#ifndef PMAP_EXCLUDE_DECLS /* Used in Sparc port to virtualize pmap mod */ |
#ifdef _KERNEL |
#ifdef _KERNEL |
Line 184 vaddr_t pmap_steal_memory(vsize_t, vadd |
|
Line 205 vaddr_t pmap_steal_memory(vsize_t, vadd |
|
#if defined(PMAP_FORK) |
#if defined(PMAP_FORK) |
void pmap_fork(pmap_t, pmap_t); |
void pmap_fork(pmap_t, pmap_t); |
#endif |
#endif |
|
|
|
#if defined(__HAVE_PMAP_PHYSSEG) |
|
#if defined(__HAVE_PMAP_PHYSSEG_INIT) |
|
struct vm_physseg; |
|
void pmap_physseg_init(struct vm_physseg *); |
|
void pmap_physseg_fini(struct vm_physseg *); |
|
#endif |
|
#endif |
__END_DECLS |
__END_DECLS |
#endif /* kernel*/ |
#endif /* kernel*/ |
#endif /* PMAP_EXCLUDE_DECLS */ |
#endif /* PMAP_EXCLUDE_DECLS */ |