mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-23 06:51:58 -04:00
Remove debug code from the TriCore port.c file.
This commit is contained in:
parent
3780e672a8
commit
63cab86cc7
|
@ -315,8 +315,6 @@ unsigned long *pxUpperCSA = NULL;
|
||||||
unsigned long xUpperCSA = 0UL;
|
unsigned long xUpperCSA = 0UL;
|
||||||
extern volatile unsigned long *pxCurrentTCB;
|
extern volatile unsigned long *pxCurrentTCB;
|
||||||
|
|
||||||
COUNT_NEST();
|
|
||||||
|
|
||||||
/* Just to avoid compiler warnings about unused parameters. */
|
/* Just to avoid compiler warnings about unused parameters. */
|
||||||
( void ) iArg;
|
( void ) iArg;
|
||||||
|
|
||||||
|
@ -381,7 +379,6 @@ COUNT_NEST();
|
||||||
CPU_SRC0.bits.SETR = 0;
|
CPU_SRC0.bits.SETR = 0;
|
||||||
_isync();
|
_isync();
|
||||||
}
|
}
|
||||||
ulNest--;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
@ -517,7 +514,7 @@ static void prvInterruptYield( int iId )
|
||||||
unsigned long *pxUpperCSA = NULL;
|
unsigned long *pxUpperCSA = NULL;
|
||||||
unsigned long xUpperCSA = 0UL;
|
unsigned long xUpperCSA = 0UL;
|
||||||
extern volatile unsigned long *pxCurrentTCB;
|
extern volatile unsigned long *pxCurrentTCB;
|
||||||
COUNT_NEST();
|
|
||||||
/* Just to remove compiler warnings. */
|
/* Just to remove compiler warnings. */
|
||||||
( void ) iId;
|
( void ) iId;
|
||||||
|
|
||||||
|
@ -549,7 +546,6 @@ COUNT_NEST();
|
||||||
pxUpperCSA[ 0 ] = *pxCurrentTCB;
|
pxUpperCSA[ 0 ] = *pxCurrentTCB;
|
||||||
CPU_SRC0.bits.SETR = 0;
|
CPU_SRC0.bits.SETR = 0;
|
||||||
_isync();
|
_isync();
|
||||||
ulNest--;
|
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue