aboutsummaryrefslogtreecommitdiff
path: root/sys/sun4v/include/pmap.h
diff options
context:
space:
mode:
authorKip Macy <kmacy@FreeBSD.org>2006-11-22 03:35:37 +0000
committerKip Macy <kmacy@FreeBSD.org>2006-11-22 03:35:37 +0000
commit793555da5edde55bebf3e6d30c655c4c69d36011 (patch)
treef7519bf8ea9388180725375214e6fee1a2adf743 /sys/sun4v/include/pmap.h
parent367e547feec1b6806a65bb53dbc7e1d20ac35ce6 (diff)
downloadsrc-793555da5edde55bebf3e6d30c655c4c69d36011.tar.gz
src-793555da5edde55bebf3e6d30c655c4c69d36011.zip
move contiguous allocation and free routines from tte_hash.c into pmap.c
Notes
Notes: svn path=/head/; revision=164494
Diffstat (limited to 'sys/sun4v/include/pmap.h')
-rw-r--r--sys/sun4v/include/pmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sun4v/include/pmap.h b/sys/sun4v/include/pmap.h
index b08629ad1d85..f69166d5a809 100644
--- a/sys/sun4v/include/pmap.h
+++ b/sys/sun4v/include/pmap.h
@@ -109,6 +109,8 @@ void pmap_invalidate_page(pmap_t pmap, vm_offset_t va, int cleartsb);
void pmap_invalidate_range(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int cleartsb);
void pmap_invalidate_all(pmap_t pmap);
void pmap_scrub_pages(vm_paddr_t pa, int64_t size);
+void pmap_free_contig_pages(void *ptr, int npages);
+void *pmap_alloc_zeroed_contig_pages(int npages, uint64_t alignment);
#define vtophys(va) pmap_kextract((vm_offset_t)(va))