]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/ipc_mig.h
xnu-3789.51.2.tar.gz
[apple/xnu.git] / osfmk / kern / ipc_mig.h
index ff7326b4b2eeb89cc88e0f3f93f23c321005b44a..92fe442c5600997d116e4c6ac5675640cb5d240e 100644 (file)
@@ -155,6 +155,14 @@ mach_msg_rpc_from_kernel_proper(
 
 #define mach_msg_rpc_from_kernel mach_msg_rpc_from_kernel_proper
 
+#ifdef XNU_KERNEL_PRIVATE
+extern mach_msg_return_t mach_msg_send_from_kernel_with_options_legacy(
+       mach_msg_header_t       *msg,
+       mach_msg_size_t         send_size,
+       mach_msg_option_t       option,
+       mach_msg_timeout_t      timeout_val);
+#endif /* XNU_KERNEL_PRIVATE */
+
 extern mach_msg_return_t mach_msg_send_from_kernel_with_options(
        mach_msg_header_t       *msg,
        mach_msg_size_t         send_size,
@@ -168,7 +176,7 @@ __END_DECLS
 extern void mach_msg_receive_continue(void);
 
 /* Initialize kernel server dispatch table */
-extern void            mig_init(void) __attribute__((section("__TEXT, initcode")));
+extern void            mig_init(void);
 
 /*
  * Kernel implementation of the MIG object base class