*
* @APPLE_OSREFERENCE_LICENSE_HEADER_END@
*/
-#include <zone_debug.h>
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <mach/mig_errors.h>
#define EXTERN
#define MIGEXTERN
+LCK_GRP_DECLARE(dev_lck_grp, "device");
+LCK_MTX_DECLARE(iokit_obj_to_port_binding_lock, &dev_lck_grp);
+
/*
* Lookup a device by its port.
* Doesn't consume the naked send right; produces a device reference.
ipc_port_release_send( port );
}
-extern lck_mtx_t iokit_obj_to_port_binding_lock;
-
EXTERN void
iokit_lock_port( __unused ipc_port_t port )
{