summaryrefslogtreecommitdiff
path: root/ipc
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 /ipc
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 'ipc')
-rw-r--r--ipc/ipc_entry.c2
-rw-r--r--ipc/ipc_hash.c2
-rw-r--r--ipc/ipc_kmsg.c2
-rw-r--r--ipc/ipc_mqueue.c1
-rw-r--r--ipc/ipc_notify.c2
-rw-r--r--ipc/ipc_object.c3
-rw-r--r--ipc/ipc_port.c2
-rw-r--r--ipc/ipc_pset.c2
-rw-r--r--ipc/ipc_right.c1
-rw-r--r--ipc/mach_msg.c3
-rw-r--r--ipc/mach_port.c3
-rw-r--r--ipc/mach_rpc.c2
12 files changed, 15 insertions, 10 deletions
diff --git a/ipc/ipc_entry.c b/ipc/ipc_entry.c
index 705638d..9084411 100644
--- a/ipc/ipc_entry.c
+++ b/ipc/ipc_entry.c
@@ -34,7 +34,7 @@
* Primitive functions to manipulate translation entries.
*/
-#include <printf.h>
+#include <kern/printf.h>
#include <string.h>
#include <mach/kern_return.h>
diff --git a/ipc/ipc_hash.c b/ipc/ipc_hash.c
index 4f21073..ce720c7 100644
--- a/ipc/ipc_hash.c
+++ b/ipc/ipc_hash.c
@@ -31,7 +31,7 @@
* Entry hash table operations.
*/
-#include <printf.h>
+#include <kern/printf.h>
#include <mach/boolean.h>
#include <mach/port.h>
#include <kern/lock.h>
diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c
index 1c9ef87..f918bd4 100644
--- a/ipc/ipc_kmsg.c
+++ b/ipc/ipc_kmsg.c
@@ -34,7 +34,7 @@
* Operations on kernel messages.
*/
-#include <printf.h>
+#include <kern/printf.h>
#include <string.h>
#include <mach/boolean.h>
diff --git a/ipc/ipc_mqueue.c b/ipc/ipc_mqueue.c
index e0ebc86..4aee2cc 100644
--- a/ipc/ipc_mqueue.c
+++ b/ipc/ipc_mqueue.c
@@ -38,6 +38,7 @@
#include <mach/message.h>
#include <kern/assert.h>
#include <kern/counters.h>
+#include <kern/debug.h> /* for panic() */
#include <kern/sched_prim.h>
#include <kern/ipc_sched.h>
#include <kern/ipc_kobject.h>
diff --git a/ipc/ipc_notify.c b/ipc/ipc_notify.c
index 30cfac4..3dea9fc 100644
--- a/ipc/ipc_notify.c
+++ b/ipc/ipc_notify.c
@@ -31,7 +31,7 @@
* Notification-sending functions.
*/
-#include <printf.h>
+#include <kern/printf.h>
#include <mach/port.h>
#include <mach/message.h>
#include <mach/notify.h>
diff --git a/ipc/ipc_object.c b/ipc/ipc_object.c
index 53f7793..d2f60f9 100644
--- a/ipc/ipc_object.c
+++ b/ipc/ipc_object.c
@@ -31,7 +31,6 @@
* Functions to manipulate IPC objects.
*/
-#include <printf.h>
#include <string.h>
#include <mach/boolean.h>
@@ -46,6 +45,8 @@
#include <ipc/ipc_right.h>
#include <ipc/ipc_notify.h>
#include <ipc/ipc_pset.h>
+#include <kern/debug.h> /* for panic() */
+#include <kern/printf.h>
zone_t ipc_object_zones[IOT_NUMBER];
diff --git a/ipc/ipc_port.c b/ipc/ipc_port.c
index fa8ed3a..f19cca6 100644
--- a/ipc/ipc_port.c
+++ b/ipc/ipc_port.c
@@ -34,7 +34,7 @@
* Functions to manipulate IPC ports.
*/
-#include <printf.h>
+#include <kern/printf.h>
#include <string.h>
#include <mach/port.h>
diff --git a/ipc/ipc_pset.c b/ipc/ipc_pset.c
index 049c66d..141cbdb 100644
--- a/ipc/ipc_pset.c
+++ b/ipc/ipc_pset.c
@@ -36,7 +36,7 @@
* Functions to manipulate IPC port sets.
*/
-#include <printf.h>
+#include <kern/printf.h>
#include <mach/port.h>
#include <mach/kern_return.h>
#include <mach/message.h>
diff --git a/ipc/ipc_right.c b/ipc/ipc_right.c
index b1e538d..176ecc6 100644
--- a/ipc/ipc_right.c
+++ b/ipc/ipc_right.c
@@ -38,6 +38,7 @@
#include <mach/port.h>
#include <mach/message.h>
#include <kern/assert.h>
+#include <kern/debug.h> /* for panic() */
#include <ipc/port.h>
#include <ipc/ipc_entry.h>
#include <ipc/ipc_space.h>
diff --git a/ipc/mach_msg.c b/ipc/mach_msg.c
index a02462d..0fe2f7c 100644
--- a/ipc/mach_msg.c
+++ b/ipc/mach_msg.c
@@ -36,13 +36,14 @@
* Exported message traps. See mach/message.h.
*/
-#include <printf.h>
#include <mach/kern_return.h>
#include <mach/port.h>
#include <mach/message.h>
#include <kern/assert.h>
#include <kern/counters.h>
+#include <kern/debug.h> /* for panic() */
#include <kern/lock.h>
+#include <kern/printf.h>
#include <kern/sched_prim.h>
#include <kern/ipc_sched.h>
#include <vm/vm_map.h>
diff --git a/ipc/mach_port.c b/ipc/mach_port.c
index b78ab25..a739aa0 100644
--- a/ipc/mach_port.c
+++ b/ipc/mach_port.c
@@ -36,7 +36,8 @@
* Exported kernel calls. See mach/mach_port.defs.
*/
-#include <printf.h>
+#include <kern/debug.h> /* for panic() */
+#include <kern/printf.h>
#include <mach/port.h>
#include <mach/kern_return.h>
#include <mach/notify.h>
diff --git a/ipc/mach_rpc.c b/ipc/mach_rpc.c
index dae097a..7f5b2eb 100644
--- a/ipc/mach_rpc.c
+++ b/ipc/mach_rpc.c
@@ -21,7 +21,7 @@
#ifdef MIGRATING_THREADS
-#include <printf.h>
+#include <kern/printf.h>
#include <mach/kern_return.h>
#include <mach/port.h>
#include <mach/rpc.h>