]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/ipc_tt.h
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / kern / ipc_tt.h
index 76f46d5e8528c208c20bec00c4cc1f3ffc6c7bdb..cbf75eb27e15bb23ee11eebdc6c0593f223c847f 100644 (file)
@@ -97,6 +97,12 @@ extern void ipc_task_terminate(
 extern void ipc_thread_init(
        thread_t        thread);
 
 extern void ipc_thread_init(
        thread_t        thread);
 
+extern void ipc_thread_init_exc_actions(
+       thread_t        thread);
+
+extern void ipc_thread_destroy_exc_actions(
+       thread_t        thread);
+
 /* Disable IPC access to a thread */
 extern void ipc_thread_disable(
        thread_t        thread);
 /* Disable IPC access to a thread */
 extern void ipc_thread_disable(
        thread_t        thread);
@@ -105,6 +111,10 @@ extern void ipc_thread_disable(
 extern void ipc_thread_terminate(
        thread_t        thread);
 
 extern void ipc_thread_terminate(
        thread_t        thread);
 
+/* Clear out a thread's IPC state */
+extern void ipc_thread_reset(
+       thread_t        thread);
+
 /* Return a send right for the task's user-visible self port */
 extern ipc_port_t retrieve_task_self_fast(
        task_t          task);
 /* Return a send right for the task's user-visible self port */
 extern ipc_port_t retrieve_task_self_fast(
        task_t          task);
@@ -113,6 +123,10 @@ extern ipc_port_t retrieve_task_self_fast(
 extern ipc_port_t retrieve_thread_self_fast(
        thread_t        thread);
 
 extern ipc_port_t retrieve_thread_self_fast(
        thread_t        thread);
 
+/* Convert from a port to a task name */
+extern task_name_t convert_port_to_task_name(
+       ipc_port_t      port);
+
 /* Convert from a port to a task */
 extern task_t convert_port_to_task(
        ipc_port_t      port);
 /* Convert from a port to a task */
 extern task_t convert_port_to_task(
        ipc_port_t      port);
@@ -141,14 +155,6 @@ extern thread_t    convert_port_to_thread(
 extern thread_t        port_name_to_thread(
        mach_port_name_t        port_name);
 
 extern thread_t        port_name_to_thread(
        mach_port_name_t        port_name);
 
-/* Convert from a task to a port */
-extern ipc_port_t convert_task_to_port(
-       task_t                  task);
-
-/* Convert from a thread to a port */
-extern ipc_port_t      convert_thread_to_port(
-       thread_t                thread);
-
 /* Deallocate a space ref produced by convert_port_to_space */
 extern void space_deallocate(
        ipc_space_t             space);
 /* Deallocate a space ref produced by convert_port_to_space */
 extern void space_deallocate(
        ipc_space_t             space);