From 91f9da20ad9da24c13b2b87b14752c865454744b Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Wed, 10 Jul 2013 12:42:08 +0200 Subject: vm: organize vm print function prototypes * vm/vm_print.h: New file. Include . Include . (vm_map_print): Add prototype. (vm_map_copy_print): Likewise. (vm_object_print): Likewise. (vm_page_print): Likewise. Include . Include * vm/vm_map.h (vm_map_print): Remove prototype. * vm/vm_map.c [MACH_KDB]: Include . * vm/vm_object.h (vm_object_print): Remove prototype. * vm/vm_object.c [MACH_KDB]: Include . * vm/vm_resident.c [MACH_KDB]: Include . --- vm/vm_print.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 vm/vm_print.h (limited to 'vm/vm_print.h') diff --git a/vm/vm_print.h b/vm/vm_print.h new file mode 100644 index 0000000..69a20ba --- /dev/null +++ b/vm/vm_print.h @@ -0,0 +1,22 @@ +#ifndef VM_PRINT_H +#define VM_PRINT_H + +#include +#include + +/* Debugging: print a map */ +extern void vm_map_print(vm_map_t); + +/* Pretty-print a copy object for ddb. */ +extern void vm_map_copy_print(vm_map_copy_t); + +#include + +extern void vm_object_print(vm_object_t); + +#include + +extern void vm_page_print(vm_page_t); + +#endif /* VM_PRINT_H */ + -- cgit v1.2.3