]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ipc/ipc_port.h
xnu-344.tar.gz
[apple/xnu.git] / osfmk / ipc / ipc_port.h
index 5bd9e5857da103fc5f0c4fabade305c83f246134..50bc7ed87182644ca8e61480e429534524bfa17c 100644 (file)
@@ -72,7 +72,6 @@
 #include <kern/lock.h>
 #include <kern/ipc_kobject.h>
 #include <kern/wait_queue.h>
-#include <kern/thread_pool.h>
 
 #include <ipc/ipc_object.h>
 #include <ipc/ipc_mqueue.h>
@@ -115,7 +114,6 @@ struct ipc_port {
        } data;
 
        ipc_kobject_t ip_kobject;
-       struct rpc_subsystem *  ip_subsystem;
        mach_port_mscount_t ip_mscount;
        mach_port_rights_t ip_srights;
        mach_port_rights_t ip_sorights;
@@ -155,8 +153,6 @@ struct ipc_port {
 #define ip_bits                        ip_object.io_bits
 #define ip_receiver_name       ip_object.io_receiver_name
 
-#define ip_thread_pool         ip_object.io_thread_pool
-
 #define        ip_receiver             data.receiver
 #define        ip_destination          data.destination
 #define        ip_timestamp            data.timestamp
@@ -377,6 +373,10 @@ extern ipc_port_t ipc_port_lookup_notify(
        ipc_space_t             space, 
        mach_port_name_t        name);
 
+/* Make a naked send right from a receive right - port locked and active */
+extern ipc_port_t ipc_port_make_send_locked(
+       ipc_port_t      port);
+
 /* Make a naked send right from a receive right */
 extern ipc_port_t ipc_port_make_send(
        ipc_port_t      port);