]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/ipc_host.c
xnu-344.12.2.tar.gz
[apple/xnu.git] / osfmk / kern / ipc_host.c
index 6cb65051b3e6de069b10b23713396fc256022578..4c3aa3b45ea49da9b98ad1e7fffdba8edf54cc0a 100644 (file)
  */
 #include <mach/message.h>
 #include <mach/mach_traps.h>
+#include <mach/etap_events.h>
 #include <mach/mach_host_server.h>
 #include <kern/host.h>
 #include <kern/processor.h>
+#include <kern/lock.h>
 #include <kern/task.h>
 #include <kern/thread.h>
 #include <kern/ipc_host.h>
@@ -94,6 +96,8 @@ void ipc_host_init(void)
        ipc_port_t      port;
        int i;
 
+       mutex_init(&realhost.lock, ETAP_MISC_MASTER);
+
        /*
         *      Allocate and set up the two host ports.
         */