MAX_PRU_SYS_EVENTS
struct pruss_intc_map_record event_channel[MAX_PRU_SYS_EVENTS];
if (rsc->num_evts > MAX_PRU_SYS_EVENTS)