diff --git a/packages/ti/osal/src/safertos/SafeRTOS_aborts_r5f.c b/packages/ti/osal/src/safertos/SafeRTOS_aborts_r5f.c
index a072d40659845d6d033ae38c03f55ddf3c4a2a08..b6a8a54707c74956c8a27bf47098499e99627223 100644 (file)
/* ========================================================================== */
extern CSL_R5ExptnHandlers gExptnHandlers;
+extern volatile uint32_t gCurrentProcessorState;
/* ========================================================================== */
/* Function Defintions */
{
/* Go into an infinite loop.*/
volatile uint32_t loop = 1;
+ gCurrentProcessorState=CSL_ARM_R5_ABORT_MODE;
while(loop)
{
void vPrefetchAbort(void)
#endif
{
+ gCurrentProcessorState=CSL_ARM_R5_ABORT_MODE;
/* Go into an infinite loop.*/
volatile uint32_t loop = 1;
while(loop)
*/
void vDataAbort_c(void)
{
+ gCurrentProcessorState=CSL_ARM_R5_ABORT_MODE;
/* Call registered call back */
if (gExptnHandlers.dabtExptnHandler != (exptnHandlerPtr)NULL)
{