summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-11-09 23:33:45 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:52 +0200
commitd1ee506ebd11d305e5384ea0edf072d8076b4eac (patch)
tree5a2a6137f38f9b8f6bc11b1ee1f9a3f281ad563e /vm
parentd9154ed8a6abfaddaedd0697c5c94e12edb05e2f (diff)
2006-11-09 Barry deFreese <bddebian@comcast.net>
[task #5726 --- ``GCC built-in functions''] * include/printf.h: Move file... * kern/printf.h: ... here. * kern/debug.h (panic_init, panic): Add prototypes. * chips/busses.c: Don't include `printf.h', include `kern/printf.h' and `kern/debug.h'. * ddb/db_command.c: Likewise. * ddb/db_cond.c: Likewise. * ddb/db_output.c: Likewise. * device/cirbuf.c: Likewise. * device/cons.c: Likewise. * device/dev_name.c: Likewise. * device/dev_pager.c: Likewise. * device/device_init.c: Likewise. * device/dk_label.c: Likewise. * device/ds_routines.c: Likewise. * device/net_io.c: Likewise. * device/subrs.c: Likewise. * i386/i386/debug_i386.c: Likewise. * i386/i386/fpe_linkage.c: Likewise. * i386/i386/fpu.c: Likewise. * i386/i386/io_map.c: Likewise. * i386/i386/kttd_interface.c: Likewise. * i386/i386/mp_desc.c: Likewise. * i386/i386/pcb.c: Likewise. * i386/i386/pic.c: Likewise. * i386/i386/trap.c: Likewise. * i386/i386at/autoconf.c: Likewise. * i386/i386at/com.c: Likewise. * i386/i386at/i386at_ds_routines.c: Likewise. * i386/i386at/kd.c: Likewise. * i386/i386at/kd_event.c: Likewise. * i386/i386at/kd_mouse.c: Likewise. * i386/i386at/lpr.c: Likewise. * i386/i386at/model_dep.c: Likewise. * i386/intel/pmap.c: Likewise. * ipc/ipc_entry.c: Likewise. * ipc/ipc_hash.c: Likewise. * ipc/ipc_kmsg.c: Likewise. * ipc/ipc_mqueue.c: Likewise. * ipc/ipc_notify.c: Likewise. * ipc/ipc_object.c: Likewise. * ipc/ipc_port.c: Likewise. * ipc/ipc_pset.c: Likewise. * ipc/ipc_right.c: Likewise. * ipc/mach_msg.c: Likewise. * ipc/mach_port.c: Likewise. * ipc/mach_rpc.c: Likewise. * kern/act.c: Likewise. * kern/ast.c: Likewise. * kern/bootstrap.c: Likewise. * kern/debug.c: Likewise. * kern/eventcount.c: Likewise. * kern/exception.c: Likewise. * kern/host.c: Likewise. * kern/ipc_host.c: Likewise. * kern/ipc_kobject.c: Likewise. * kern/ipc_mig.c: Likewise. * kern/ipc_sched.c: Likewise. * kern/ipc_tt.c: Likewise. * kern/kalloc.c: Likewise. * kern/lock.c: Likewise. * kern/mach_clock.c: Likewise. * kern/machine.c: Likewise. * kern/pc_sample.c: Likewise. * kern/printf.c: Likewise. * kern/processor.c: Likewise. * kern/sched_prim.c: Likewise. * kern/server_loop.ch: Likewise. * kern/startup.c: Likewise. * kern/task.c: Likewise. * kern/thread.c: Likewise. * kern/thread_swap.c: Likewise. * kern/xpr.c: Likewise. * kern/zalloc.c: Likewise. * vm/memory_object.c: Likewise. * vm/vm_debug.c: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_kern.c: Likewise. * vm/vm_map.c: Likewise. * vm/vm_object.c: Likewise. * vm/vm_object.h: Likewise. * vm/vm_pageout.c: Likewise. * vm/vm_resident.c: Likewise.
Diffstat (limited to 'vm')
-rw-r--r--vm/memory_object.c1
-rw-r--r--vm/vm_debug.c1
-rw-r--r--vm/vm_fault.c3
-rw-r--r--vm/vm_kern.c1
-rw-r--r--vm/vm_map.c3
-rw-r--r--vm/vm_object.c3
-rw-r--r--vm/vm_object.h1
-rw-r--r--vm/vm_pageout.c1
-rw-r--r--vm/vm_resident.c3
9 files changed, 13 insertions, 4 deletions
diff --git a/vm/memory_object.c b/vm/memory_object.c
index 77ec25c..009d736 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 29ec8da..60fd361 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 0506e0a..632a852 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 ed81f0a..786daaa 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 71de048..31ef042 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 0e8a514..a52edaf 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 84e658f..05dce54 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 c3d890c..63ee8f0 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 2b5ecee..8eb5c85 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>