summaryrefslogtreecommitdiff
path: root/vm/vm_object.c
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_object.c
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_object.c')
-rw-r--r--vm/vm_object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/vm_object.c b/vm/vm_object.c
index d83c39f..18a909f 100644
--- a/vm/vm_object.c
+++ b/vm/vm_object.c
@@ -2969,6 +2969,7 @@ vm_object_page_map(
#if MACH_KDB
+#include <vm/vm_print.h>
#define printf kdbprintf
boolean_t vm_object_print_pages = FALSE;