vTaskdelay(), vTaskdelayuntil() call doesn’t work on MPC5748G

vTaskdelay(), vTaskdelayuntil() call doesn’t work on MPC5748G. I created a project on Z0 core. -> Added freertos component via PE -> Generated the code. On creating the task, it is successful. But when i used vTaskdelay() inside the task, the application crashes. Removing the call woks fine. by debugging it boils down to the below code. if( xAlreadyYielded == pdFALSE ) { portYIELDWITHINAPI(); –> call to ((void)xPortSyscall(portSYSCALL_YIELD)) –> } static portFORCEINLINE BaseTypet xPortSyscall( const BaseTypet number ) { register BaseTypet numberR3 asm (“r3”) = number;
__asm__ volatile
(
    "se_sc" : "+r" (numberR3) : : "cr0", "r4"  --> Executing this line results in crash in application.
);

return numberR3;
} Kindly help to resolve this issue.

vTaskdelay(), vTaskdelayuntil() call doesn’t work on MPC5748G

Is this code we provided? If not, where did it come from?