diff options
-rw-r--r-- | vm/vm_kern.c | 3 | ||||
-rw-r--r-- | vm/vm_kern.h | 14 |
2 files changed, 14 insertions, 3 deletions
diff --git a/vm/vm_kern.c b/vm/vm_kern.c index ddbe555..7e377ef 100644 --- a/vm/vm_kern.c +++ b/vm/vm_kern.c @@ -62,9 +62,6 @@ static struct vm_map kernel_map_store; vm_map_t kernel_map = &kernel_map_store; vm_map_t kernel_pageable_map; -extern void kmem_alloc_pages(); -extern void kmem_remap_pages(); - /* * projected_buffer_allocate * diff --git a/vm/vm_kern.h b/vm/vm_kern.h index 22b7c12..0869217 100644 --- a/vm/vm_kern.h +++ b/vm/vm_kern.h @@ -82,4 +82,18 @@ extern boolean_t projected_buffer_in_range( vm_offset_t start, vm_offset_t end); +extern void kmem_alloc_pages( + vm_object_t object, + vm_offset_t offset, + vm_offset_t start, + vm_offset_t end, + vm_prot_t protection); + +extern void kmem_remap_pages( + vm_object_t object, + vm_offset_t offset, + vm_offset_t start, + vm_offset_t end, + vm_prot_t protection); + #endif /* _VM_VM_KERN_H_ */ |