mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-06 13:15:19 -05:00
Verify EXL bit only
This commit is contained in:
parent
40f51fd08f
commit
3bfd03b201
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue