summaryrefslogtreecommitdiff
path: root/vm/vm_map.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_map.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_map.c')
-rw-r--r--vm/vm_map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c
index 47db118..2be7147 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -55,6 +55,7 @@
#if MACH_KDB
#include <ddb/db_output.h>
+#include <vm/vm_print.h>
#endif /* MACH_KDB */