extern dtrace_id_t dtrace_probeid_error; /* special ERROR probe */
typedef arm_saved_state_t savearea_t;
-extern lck_attr_t *dtrace_lck_attr;
-extern lck_grp_t *dtrace_lck_grp;
-
int dtrace_arm_condition_true(int condition, int cpsr);
/*
* MP coordination
*/
-decl_lck_mtx_data(static, dt_xc_lock);
+static LCK_MTX_DECLARE_ATTR(dt_xc_lock, &dtrace_lck_grp, &dtrace_lck_attr);
static uint32_t dt_xc_sync;
typedef struct xcArg {
return;
}
-/*
- * Initialization
- */
-void
-dtrace_isa_init(void)
-{
- lck_mtx_init(&dt_xc_lock, dtrace_lck_grp, dtrace_lck_attr);
- return;
-}
-
/*
* Runtime and ABI
*/