summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-16 00:51:05 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:16 +0200
commitcebb3e599473c53b5faa759f20da8279367bed69 (patch)
treeef8a1157c5be9235ec7772f31e5f1a2098d01e48 /ipc
parentf1b261205a9bc1533af851e6fc41f2af6e8e1188 (diff)
2008-07-15 Barry deFreese <bddebian@comcast.net>
* ipc/ipc_kmsg.c: Include <vm/vm_user.h> and <ipc/ipc_hash.h>. * ipc/ipc_mqueue (ipc_mqueue_copyin): Add prototype. * kern/bootstrap.c: Include <vm/vm_user.h>. * kern/exceptions.c: Include <ipc/ipc_notify.h>. * kern/ipc_kobject.h (ipc_kobject_notify): Add prototype. * kern/ipc_mig.c: Include <device/dev_hdr.h>. * kern/pc_sample.c: Include <machine/trap.h>. * kern/printf.h (safe_gets): Add prototype. * kern/processor.c: Include <kern/ipc_tt.h>. * kern/queue.h (insque): Add prototype. * kern/startup.c: Include <kern/mach_factor.h> and <kern/xpr.h>. * kern/thread.h (thread_start, kernel_thread, thread_priority, thread_set_own_priority, thread_max_priority, thread_policy, consider_thread_collect, stack_privilege): Add prototypes. * kern/timer.h (timer_normalize, timer_init, init_timers): Add prototypes. * vm/vm_map.h (vm_map_lookup_entry, vm_map_entry_delete): Add prototypes.
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_kmsg.c2
-rw-r--r--ipc/ipc_mqueue.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c
index 6b2ff95..dff0540 100644
--- a/ipc/ipc_kmsg.c
+++ b/ipc/ipc_kmsg.c
@@ -47,8 +47,10 @@
#include <vm/vm_map.h>
#include <vm/vm_object.h>
#include <vm/vm_kern.h>
+#include <vm/vm_user.h>
#include <ipc/port.h>
#include <ipc/ipc_entry.h>
+#include <ipc/ipc_hash.h>
#include <ipc/ipc_kmsg.h>
#include <ipc/ipc_thread.h>
#include <ipc/ipc_marequest.h>
diff --git a/ipc/ipc_mqueue.h b/ipc/ipc_mqueue.h
index 6421aef..ef0f942 100644
--- a/ipc/ipc_mqueue.h
+++ b/ipc/ipc_mqueue.h
@@ -66,6 +66,9 @@ ipc_mqueue_changed(ipc_mqueue_t, mach_msg_return_t);
extern mach_msg_return_t
ipc_mqueue_send(ipc_kmsg_t, mach_msg_option_t, mach_msg_timeout_t);
+extern mach_msg_return_t
+ipc_mqueue_copyin(ipc_space_t, mach_port_t, ipc_mqueue_t *, ipc_object_t *);
+
#define IMQ_NULL_CONTINUE ((void (*)()) 0)
extern mach_msg_return_t