X-Git-Url: https://git.ti.com/gitweb?p=keystone-rtos%2Fedma3_lld.git;a=blobdiff_plain;f=packages%2Fti%2Fsdo%2Fedma3%2Fdrv%2Fsample%2Fsrc%2Fplatforms%2Fsample_ti816x_arm_int_reg.c;h=ae2e54e90f80d7f5fdf077a1839ebcb4d48dcf70;hp=2679965ec6cc993ce24dd02fe33eca386102a038;hb=5b09792e446378268175a200f998c2c155916ede;hpb=f5a11506a68ed45e97fa6560ce9df084e0e71b8c;ds=sidebyside diff --git a/packages/ti/sdo/edma3/drv/sample/src/platforms/sample_ti816x_arm_int_reg.c b/packages/ti/sdo/edma3/drv/sample/src/platforms/sample_ti816x_arm_int_reg.c index 2679965..ae2e54e 100755 --- a/packages/ti/sdo/edma3/drv/sample/src/platforms/sample_ti816x_arm_int_reg.c +++ b/packages/ti/sdo/edma3/drv/sample/src/platforms/sample_ti816x_arm_int_reg.c @@ -50,7 +50,7 @@ * (Not all TC error ISRs need to be registered, register only for the * available Transfer Controllers). */ -void (*ptrEdma3TcIsrHandler[EDMA3_MAX_TC])(unsigned int arg) = +void (*ptrEdma3TcIsrHandler[EDMA3_MAX_TC])(uint32_t arg) = { &lisrEdma3TC0ErrHandler0, &lisrEdma3TC1ErrHandler0, @@ -109,9 +109,9 @@ void registerEdma3Interrupts (unsigned int edma3Id) //hwiParams.enableInt = TRUE; hwiCCXferCompInt = Hwi_create( ccXferCompInt[edma3Id][dsp_num], - (&lisrEdma3ComplHandler0), - (const Hwi_Params *) (&hwiParams), - &eb); + ((Hwi_FuncPtr)&lisrEdma3ComplHandler0), + (const Hwi_Params *) (&hwiParams), + &eb); if (TRUE == Error_check(&eb)) { System_printf("HWI Create Failed\n",Error_getCode(&eb)); @@ -128,7 +128,7 @@ void registerEdma3Interrupts (unsigned int edma3Id) //hwiParams.enableInt = TRUE; hwiCCErrInt = Hwi_create( ccErrorInt[edma3Id], - (&lisrEdma3CCErrHandler0), + ((Hwi_FuncPtr)&lisrEdma3CCErrHandler0), (const Hwi_Params *) (&hwiParams), &eb); @@ -148,7 +148,7 @@ void registerEdma3Interrupts (unsigned int edma3Id) //hwiParams.enableInt = TRUE; hwiTCErrInt[numTc] = Hwi_create( tcErrorInt[edma3Id][numTc], - (ptrEdma3TcIsrHandler[numTc]), + ((Hwi_FuncPtr)ptrEdma3TcIsrHandler[numTc]), (const Hwi_Params *) (&hwiParams), &eb); if (TRUE == Error_check(&eb))