void init_media_input_fifos(media_input_fifo_t ififos[], media_input_fifo_data_t ififo_data[], int n) { enable_lock = __hwlock_init(); for(int i=0; i<n; i++) { ififos[i] = (unsigned int) &ififo_data[i]; } }
static void init_swlocks(void) { global_hwlock = __hwlock_init(); }