summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_hash.c1
-rw-r--r--ipc/ipc_hash.h2
-rw-r--r--ipc/ipc_kmsg.c4
-rw-r--r--ipc/ipc_kmsg.h5
-rw-r--r--ipc/ipc_marequest.c3
-rw-r--r--ipc/ipc_marequest.h2
-rw-r--r--ipc/ipc_notify.c2
-rw-r--r--ipc/ipc_notify.h2
-rw-r--r--ipc/ipc_object.c4
-rw-r--r--ipc/ipc_object.h2
-rw-r--r--ipc/ipc_port.c4
-rw-r--r--ipc/ipc_port.h2
-rw-r--r--ipc/ipc_pset.c2
-rw-r--r--ipc/ipc_right.c2
-rw-r--r--ipc/ipc_right.h2
-rw-r--r--ipc/ipc_space.c2
-rw-r--r--ipc/ipc_space.h2
-rw-r--r--ipc/ipc_target.c2
-rw-r--r--ipc/mach_debug.c2
-rw-r--r--ipc/mach_msg.c2
-rw-r--r--ipc/mach_msg.h2
-rw-r--r--ipc/mach_port.c2
22 files changed, 2 insertions, 51 deletions
diff --git a/ipc/ipc_hash.c b/ipc/ipc_hash.c
index 50024b5..1c5bfa9 100644
--- a/ipc/ipc_hash.c
+++ b/ipc/ipc_hash.c
@@ -43,7 +43,6 @@
#include <ipc/ipc_init.h>
#include <ipc/ipc_types.h>
-#include <mach_ipc_debug.h>
#if MACH_IPC_DEBUG
#include <mach/kern_return.h>
#include <mach_debug/hash_info.h>
diff --git a/ipc/ipc_hash.h b/ipc/ipc_hash.h
index bf5e9ac..b5b1ba6 100644
--- a/ipc/ipc_hash.h
+++ b/ipc/ipc_hash.h
@@ -34,8 +34,6 @@
#ifndef _IPC_IPC_HASH_H_
#define _IPC_IPC_HASH_H_
-#include <mach_ipc_debug.h>
-
#include <mach/boolean.h>
#include <mach/kern_return.h>
diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c
index 44b5d82..12bd0c7 100644
--- a/ipc/ipc_kmsg.c
+++ b/ipc/ipc_kmsg.c
@@ -34,9 +34,6 @@
* Operations on kernel messages.
*/
-#include <cpus.h>
-#include <mach_ipc_compat.h>
-
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <mach/message.h>
@@ -3144,7 +3141,6 @@ ipc_kmsg_copyout_compat(kmsg, space, map)
#endif /* MACH_IPC_COMPAT */
-#include <mach_kdb.h>
#if MACH_KDB
char *
diff --git a/ipc/ipc_kmsg.h b/ipc/ipc_kmsg.h
index 77e7c28..32cf828 100644
--- a/ipc/ipc_kmsg.h
+++ b/ipc/ipc_kmsg.h
@@ -34,13 +34,10 @@
#ifndef _IPC_IPC_KMSG_H_
#define _IPC_IPC_KMSG_H_
-#include <cpus.h>
-#include <mach_ipc_compat.h>
-
#include <mach/machine/vm_types.h>
#include <mach/message.h>
#include <kern/assert.h>
-#include "cpu_number.h"
+#include <kern/cpu_number.h>
#include <kern/macro_help.h>
#include <kern/kalloc.h>
#include <ipc/ipc_marequest.h>
diff --git a/ipc/ipc_marequest.c b/ipc/ipc_marequest.c
index b5abc58..5826baf 100644
--- a/ipc/ipc_marequest.c
+++ b/ipc/ipc_marequest.c
@@ -34,8 +34,6 @@
* Functions to handle msg-accepted requests.
*/
-#include <mach_ipc_compat.h>
-
#include <mach/message.h>
#include <mach/port.h>
#include <kern/lock.h>
@@ -51,7 +49,6 @@
#include <ipc/ipc_marequest.h>
#include <ipc/ipc_notify.h>
-#include <mach_ipc_debug.h>
#if MACH_IPC_DEBUG
#include <mach/kern_return.h>
#include <mach_debug/hash_info.h>
diff --git a/ipc/ipc_marequest.h b/ipc/ipc_marequest.h
index 5ea1858..6f4e6c8 100644
--- a/ipc/ipc_marequest.h
+++ b/ipc/ipc_marequest.h
@@ -34,8 +34,6 @@
#ifndef _IPC_IPC_MAREQUEST_H_
#define _IPC_IPC_MAREQUEST_H_
-#include <mach_ipc_debug.h>
-
#include <mach/kern_return.h>
#include <mach/port.h>
diff --git a/ipc/ipc_notify.c b/ipc/ipc_notify.c
index d10ac99..c90796f 100644
--- a/ipc/ipc_notify.c
+++ b/ipc/ipc_notify.c
@@ -31,8 +31,6 @@
* Notification-sending functions.
*/
-#include <mach_ipc_compat.h>
-
#include <mach/port.h>
#include <mach/message.h>
#include <mach/notify.h>
diff --git a/ipc/ipc_notify.h b/ipc/ipc_notify.h
index 4e5b2e4..433d919 100644
--- a/ipc/ipc_notify.h
+++ b/ipc/ipc_notify.h
@@ -34,8 +34,6 @@
#ifndef _IPC_IPC_NOTIFY_H_
#define _IPC_IPC_NOTIFY_H_
-#include <mach_ipc_compat.h>
-
extern void
ipc_notify_init();
diff --git a/ipc/ipc_object.c b/ipc/ipc_object.c
index fca204f..e0cbbc3 100644
--- a/ipc/ipc_object.c
+++ b/ipc/ipc_object.c
@@ -31,8 +31,6 @@
* Functions to manipulate IPC objects.
*/
-#include <mach_ipc_compat.h>
-
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <mach/port.h>
@@ -1280,8 +1278,6 @@ ipc_object_copyout_name_compat(space, object, msgt_name, name)
#endif /* MACH_IPC_COMPAT */
-#include <mach_kdb.h>
-
#if MACH_KDB
#define printf kdbprintf
diff --git a/ipc/ipc_object.h b/ipc/ipc_object.h
index 892d3ea..0a0184a 100644
--- a/ipc/ipc_object.h
+++ b/ipc/ipc_object.h
@@ -34,8 +34,6 @@
#ifndef _IPC_IPC_OBJECT_H_
#define _IPC_IPC_OBJECT_H_
-#include <mach_ipc_compat.h>
-
#include <mach/kern_return.h>
#include <mach/message.h>
#include <kern/lock.h>
diff --git a/ipc/ipc_port.c b/ipc/ipc_port.c
index 262ab5e..aaba82d 100644
--- a/ipc/ipc_port.c
+++ b/ipc/ipc_port.c
@@ -34,8 +34,6 @@
* Functions to manipulate IPC ports.
*/
-#include <mach_ipc_compat.h>
-
#include <mach/port.h>
#include <mach/kern_return.h>
#include <kern/lock.h>
@@ -1434,8 +1432,6 @@ ipc_port_copyout_receiver(port, space)
#endif /* MACH_IPC_COMPAT */
-#include <mach_kdb.h>
-
#if MACH_KDB
#define printf kdbprintf
diff --git a/ipc/ipc_port.h b/ipc/ipc_port.h
index 6707268..4b269b6 100644
--- a/ipc/ipc_port.h
+++ b/ipc/ipc_port.h
@@ -39,8 +39,6 @@
#ifndef _IPC_IPC_PORT_H_
#define _IPC_IPC_PORT_H_
-#include <mach_ipc_compat.h>
-
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <mach/port.h>
diff --git a/ipc/ipc_pset.c b/ipc/ipc_pset.c
index d916f0c..b535e3f 100644
--- a/ipc/ipc_pset.c
+++ b/ipc/ipc_pset.c
@@ -316,8 +316,6 @@ ipc_pset_destroy(
ips_check_unlock(pset);
}
-#include <mach_kdb.h>
-
#if MACH_KDB
#define printf kdbprintf
diff --git a/ipc/ipc_right.c b/ipc/ipc_right.c
index 72d8cc0..b1e538d 100644
--- a/ipc/ipc_right.c
+++ b/ipc/ipc_right.c
@@ -33,8 +33,6 @@
* Functions to manipulate IPC capabilities.
*/
-#include <mach_ipc_compat.h>
-
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <mach/port.h>
diff --git a/ipc/ipc_right.h b/ipc/ipc_right.h
index f0281e6..4b937c0 100644
--- a/ipc/ipc_right.h
+++ b/ipc/ipc_right.h
@@ -36,8 +36,6 @@
#ifndef _IPC_IPC_RIGHT_H_
#define _IPC_IPC_RIGHT_H_
-#include <mach_ipc_compat.h>
-
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <ipc/ipc_port.h>
diff --git a/ipc/ipc_space.c b/ipc/ipc_space.c
index bbe8a2f..e3817f5 100644
--- a/ipc/ipc_space.c
+++ b/ipc/ipc_space.c
@@ -36,8 +36,6 @@
* Functions to manipulate IPC capability spaces.
*/
-#include <mach_ipc_compat.h>
-
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <mach/port.h>
diff --git a/ipc/ipc_space.h b/ipc/ipc_space.h
index 14f2404..6d2ed82 100644
--- a/ipc/ipc_space.h
+++ b/ipc/ipc_space.h
@@ -39,8 +39,6 @@
#ifndef _IPC_IPC_SPACE_H_
#define _IPC_IPC_SPACE_H_
-#include <mach_ipc_compat.h>
-
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <kern/macro_help.h>
diff --git a/ipc/ipc_target.c b/ipc/ipc_target.c
index b791db2..aa35a59 100644
--- a/ipc/ipc_target.c
+++ b/ipc/ipc_target.c
@@ -22,7 +22,7 @@
* representing a target of messages and migrating RPCs.
*/
-#include "sched_prim.h"
+#include <kern/sched_prim.h>
#include "ipc_target.h"
void
diff --git a/ipc/mach_debug.c b/ipc/mach_debug.c
index 49530cf..04d0c74 100644
--- a/ipc/mach_debug.c
+++ b/ipc/mach_debug.c
@@ -33,8 +33,6 @@
* Exported kernel calls. See mach_debug/mach_debug.defs.
*/
-#include <mach_ipc_compat.h>
-
#include <mach/kern_return.h>
#include <mach/port.h>
#include <mach/machine/vm_types.h>
diff --git a/ipc/mach_msg.c b/ipc/mach_msg.c
index 2ae250c..cdb406e 100644
--- a/ipc/mach_msg.c
+++ b/ipc/mach_msg.c
@@ -36,8 +36,6 @@
* Exported message traps. See mach/message.h.
*/
-#include <mach_ipc_compat.h>
-
#include <mach/kern_return.h>
#include <mach/port.h>
#include <mach/message.h>
diff --git a/ipc/mach_msg.h b/ipc/mach_msg.h
index c5dc3ce..021ddc5 100644
--- a/ipc/mach_msg.h
+++ b/ipc/mach_msg.h
@@ -36,8 +36,6 @@
#ifndef _IPC_MACH_MSG_H_
#define _IPC_MACH_MSG_H_
-#include <mach_ipc_compat.h>
-
#include <mach/boolean.h>
#include <mach/message.h>
diff --git a/ipc/mach_port.c b/ipc/mach_port.c
index 6dc83ad..0ddad53 100644
--- a/ipc/mach_port.c
+++ b/ipc/mach_port.c
@@ -36,8 +36,6 @@
* Exported kernel calls. See mach/mach_port.defs.
*/
-#include <mach_ipc_compat.h>
-
#include <mach/port.h>
#include <mach/kern_return.h>
#include <mach/notify.h>