Verify EXL bit only

This commit is contained in:
Kody Stribrny 2025-11-26 13:20:37 -08:00
parent 40f51fd08f
commit 3bfd03b201

View file

@ -382,7 +382,7 @@ portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
/* Obtain the number of the currently executing interrupt. */ /* Obtain the number of the currently executing interrupt. */
__asm volatile("mfc0 %0, $12" : "=r" (ulCurrentInterrupt)); __asm volatile("mfc0 %0, $12" : "=r" (ulCurrentInterrupt));
if( ulCurrentInterrupt == 0 ) if( ( ulCurrentInterrupt && portEXL_BIT ) != 0U )
{ {
xReturn = pdFALSE; xReturn = pdFALSE;
} }