summaryrefslogtreecommitdiff
path: root/vm/vm_map.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-07-10 12:42:08 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-18 00:08:37 +0200
commit91f9da20ad9da24c13b2b87b14752c865454744b (patch)
tree74c409c7a9706822594728059eb9502df289cd59 /vm/vm_map.h
parent37a5965ed210cb0672ceae8292393a678a144415 (diff)
vm: organize vm print function prototypes
* vm/vm_print.h: New file. Include <vm/vm_map.h>. Include <machine/db_machdep.h>. (vm_map_print): Add prototype. (vm_map_copy_print): Likewise. (vm_object_print): Likewise. (vm_page_print): Likewise. Include <vm/vm_object.h>. Include <vm/vm_page.h> * vm/vm_map.h (vm_map_print): Remove prototype. * vm/vm_map.c [MACH_KDB]: Include <vm/vm_print.h>. * vm/vm_object.h (vm_object_print): Remove prototype. * vm/vm_object.c [MACH_KDB]: Include <vm/vm_print.h>. * vm/vm_resident.c [MACH_KDB]: Include <vm/vm_print.h>.
Diffstat (limited to 'vm/vm_map.h')
-rw-r--r--vm/vm_map.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/vm/vm_map.h b/vm/vm_map.h
index a15e681..5fdac4e 100644
--- a/vm/vm_map.h
+++ b/vm/vm_map.h
@@ -397,9 +397,6 @@ extern kern_return_t vm_map_protect(vm_map_t, vm_offset_t, vm_offset_t,
extern kern_return_t vm_map_inherit(vm_map_t, vm_offset_t, vm_offset_t,
vm_inherit_t);
-/* Debugging: print a map */
-extern void vm_map_print(vm_map_t);
-
/* Look up an address */
extern kern_return_t vm_map_lookup(vm_map_t *, vm_offset_t, vm_prot_t,
vm_map_version_t *, vm_object_t *,