diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:54:13 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 06:48:29 +0900 |
commit | 65e3849ec757c8764ef0549c8e494230155312d7 (patch) | |
tree | ecb7db02070a6759c5d21d6922759b056d750b26 /vm | |
parent | 032745204b45ef69ec382526bca206674d9d84de (diff) |
vm/vm_kern.c: remove forward declarations
* vm/vm_kern.c (kmem_alloc_pages, kmem_remap_pages): Remove forward declarations.
* vm/vm_kern.h (kmem_alloc_pages, kmem_remap_pages): Add prototypes.
Diffstat (limited to 'vm')
-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_ */ |