diff options
author | alc <alc@FreeBSD.org> | 2004-06-13 03:44:11 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-06-13 03:44:11 +0000 |
commit | 91c65a303c6b09b4286d73414724d52f6fde1973 (patch) | |
tree | 453ab3a79b16e9be23461f3e3e640e67d81fbf1b /sys/amd64/include/pmap.h | |
parent | f1bc833e9552e6874a5343bfd4a0b2999a185b42 (diff) | |
download | FreeBSD-src-91c65a303c6b09b4286d73414724d52f6fde1973.zip FreeBSD-src-91c65a303c6b09b4286d73414724d52f6fde1973.tar.gz |
- Remove an unused declaration.
- Move a definition inside the scope of a #ifdef _KERNEL.
Diffstat (limited to 'sys/amd64/include/pmap.h')
-rw-r--r-- | sys/amd64/include/pmap.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h index 71cfa88..2829d06 100644 --- a/sys/amd64/include/pmap.h +++ b/sys/amd64/include/pmap.h @@ -226,8 +226,6 @@ struct pmap { LIST_ENTRY(pmap) pm_list; /* List of all pmaps */ }; -#define pmap_page_is_mapped(m) (!TAILQ_EMPTY(&(m)->md.pv_list)) - typedef struct pmap *pmap_t; #ifdef _KERNEL @@ -264,13 +262,14 @@ extern vm_paddr_t phys_avail[]; extern vm_offset_t virtual_avail; extern vm_offset_t virtual_end; +#define pmap_page_is_mapped(m) (!TAILQ_EMPTY(&(m)->md.pv_list)) + void pmap_bootstrap(vm_paddr_t *); void pmap_kenter(vm_offset_t va, vm_paddr_t pa); void *pmap_kenter_temporary(vm_paddr_t pa, int i); void pmap_kremove(vm_offset_t); void *pmap_mapdev(vm_paddr_t, vm_size_t); void pmap_unmapdev(vm_offset_t, vm_size_t); -pt_entry_t *pmap_pte_quick(pmap_t, vm_offset_t) __pure2; void pmap_invalidate_page(pmap_t, vm_offset_t); void pmap_invalidate_range(pmap_t, vm_offset_t, vm_offset_t); void pmap_invalidate_all(pmap_t); |