SPRACY6 July 2021 DRA821U , DRA821U-Q1 , DRA829J , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
FUNC(void, CtApSciserverHigh_CODE) CtApSciserverHighRunnable(void)
{
sint32 ret;
GetResource(OsResource_SciserverSync);
ret = Sciserver_processtask(utdHigh);
if (ret != CSL_PASS)
{
/* Failed to process message and failed to send nak response */
/* TI-RTOS: BIOS_exit(0); */
ReleaseResource(OsResource_SciserverSync);
(void)TerminateTask();
}
else
{
/* TI-RTOS:
Osal_EnableInterrupt(0, sciserver_hwi_list[2U * utd->task_id +
utd->state->current_buffer_idx].irq_num); */
highIsrEnableVal = 1 << ((sciserver_hwi_list[2U * utdHigh->task_id + utdHigh->state->current_buffer_idx].irq_num) % 32);
*(volatile unsigned int *)(0x40F80000 + 0x400 +
(CSLR_MCU_R5FSS0_CORE0_INTR_MCU_NAVSS0_INTR_ROUTER_0_OUTL_INTR_7/32)*0x20 + 0x08) = highIsrEnableVal;
}
ReleaseResource(OsResource_SciserverSync);
}