diff options
Diffstat (limited to 'vm')
-rw-r--r-- | vm/memory_object.c | 1 | ||||
-rw-r--r-- | vm/vm_debug.c | 1 | ||||
-rw-r--r-- | vm/vm_fault.c | 3 | ||||
-rw-r--r-- | vm/vm_kern.c | 1 | ||||
-rw-r--r-- | vm/vm_map.c | 3 | ||||
-rw-r--r-- | vm/vm_object.c | 3 | ||||
-rw-r--r-- | vm/vm_object.h | 1 | ||||
-rw-r--r-- | vm/vm_pageout.c | 1 | ||||
-rw-r--r-- | vm/vm_resident.c | 3 |
9 files changed, 13 insertions, 4 deletions
diff --git a/vm/memory_object.c b/vm/memory_object.c index 77ec25c1..009d736f 100644 --- a/vm/memory_object.c +++ b/vm/memory_object.c @@ -57,6 +57,7 @@ #include <vm/vm_page.h> #include <vm/vm_pageout.h> #include <vm/pmap.h> /* For copy_to_phys, pmap_clear_modify */ +#include <kern/debug.h> /* For panic() */ #include <kern/thread.h> /* For current_thread() */ #include <kern/host.h> #include <vm/vm_kern.h> /* For kernel_map, vm_move */ diff --git a/vm/vm_debug.c b/vm/vm_debug.c index 29ec8daf..60fd361f 100644 --- a/vm/vm_debug.c +++ b/vm/vm_debug.c @@ -35,6 +35,7 @@ #include <string.h> +#include <kern/debug.h> /* for panic() */ #include <kern/thread.h> #include <mach/kern_return.h> #include <mach/machine/vm_types.h> diff --git a/vm/vm_fault.c b/vm/vm_fault.c index 0506e0ae..632a852a 100644 --- a/vm/vm_fault.c +++ b/vm/vm_fault.c @@ -33,11 +33,12 @@ * Page fault handling module. */ -#include <printf.h> +#include <kern/printf.h> #include <vm/vm_fault.h> #include <mach/kern_return.h> #include <mach/message.h> /* for error codes */ #include <kern/counters.h> +#include <kern/debug.h> /* for panic() */ #include <kern/thread.h> #include <kern/sched_prim.h> #include <vm/vm_map.h> diff --git a/vm/vm_kern.c b/vm/vm_kern.c index ed81f0ae..786daaaf 100644 --- a/vm/vm_kern.c +++ b/vm/vm_kern.c @@ -39,6 +39,7 @@ #include <mach/kern_return.h> #include <machine/vm_param.h> #include <kern/assert.h> +#include <kern/debug.h> /* for panic() */ #include <kern/lock.h> #include <kern/thread.h> #include <vm/vm_fault.h> diff --git a/vm/vm_map.c b/vm/vm_map.c index 71de0488..31ef0420 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -34,12 +34,13 @@ * Virtual memory mapping module. */ -#include <printf.h> +#include <kern/printf.h> #include <mach/kern_return.h> #include <mach/port.h> #include <mach/vm_attributes.h> #include <mach/vm_param.h> #include <kern/assert.h> +#include <kern/debug.h> /* for panic() */ #include <kern/zalloc.h> #include <vm/vm_fault.h> #include <vm/vm_map.h> diff --git a/vm/vm_object.c b/vm/vm_object.c index 0e8a514d..a52edaf9 100644 --- a/vm/vm_object.c +++ b/vm/vm_object.c @@ -33,7 +33,7 @@ * Virtual memory object module. */ -#include <printf.h> +#include <kern/printf.h> #include <string.h> #include <mach/memory_object.h> @@ -43,6 +43,7 @@ #include <ipc/ipc_port.h> #include <ipc/ipc_space.h> #include <kern/assert.h> +#include <kern/debug.h> /* for panic() */ #include <kern/lock.h> #include <kern/queue.h> #include <kern/xpr.h> diff --git a/vm/vm_object.h b/vm/vm_object.h index 84e658f1..05dce547 100644 --- a/vm/vm_object.h +++ b/vm/vm_object.h @@ -43,6 +43,7 @@ #include <kern/queue.h> #include <kern/lock.h> #include <kern/assert.h> +#include <kern/debug.h> /* for panic() */ #include <kern/macro_help.h> #include <vm/pmap.h> diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c index c3d890c6..63ee8f03 100644 --- a/vm/vm_pageout.c +++ b/vm/vm_pageout.c @@ -41,6 +41,7 @@ #include <mach/vm_param.h> #include <mach/vm_statistics.h> #include <kern/counters.h> +#include <kern/debug.h> /* for panic() */ #include <kern/thread.h> #include <vm/pmap.h> #include <vm/vm_map.h> diff --git a/vm/vm_resident.c b/vm/vm_resident.c index 2b5ecee2..8eb5c85d 100644 --- a/vm/vm_resident.c +++ b/vm/vm_resident.c @@ -33,11 +33,12 @@ * Resident memory management module. */ -#include <printf.h> +#include <kern/printf.h> #include <string.h> #include <mach/vm_prot.h> #include <kern/counters.h> +#include <kern/debug.h> /* for panic() */ #include <kern/sched_prim.h> #include <kern/task.h> #include <kern/thread.h> |