mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-28 01:50:14 +00:00
Style: uncrusitfy
This commit is contained in:
committed by
alfred gedeon
parent
a5dbc2b1de
commit
718178c68a
@@ -25,20 +25,19 @@
|
||||
*/
|
||||
|
||||
/* When switching out a task, if the task tag contains a buffer address then
|
||||
save the flop context into the buffer. */
|
||||
#define traceTASK_SWITCHED_OUT() \
|
||||
if( pxCurrentTCB->pxTaskTag != NULL ) \
|
||||
{ \
|
||||
extern void vPortSaveFPURegisters( void * ); \
|
||||
vPortSaveFPURegisters( ( void * ) ( pxCurrentTCB->pxTaskTag ) ); \
|
||||
}
|
||||
* save the flop context into the buffer. */
|
||||
#define traceTASK_SWITCHED_OUT() \
|
||||
if( pxCurrentTCB->pxTaskTag != NULL ) \
|
||||
{ \
|
||||
extern void vPortSaveFPURegisters( void * ); \
|
||||
vPortSaveFPURegisters( ( void * ) ( pxCurrentTCB->pxTaskTag ) ); \
|
||||
}
|
||||
|
||||
/* When switching in a task, if the task tag contains a buffer address then
|
||||
load the flop context from the buffer. */
|
||||
#define traceTASK_SWITCHED_IN() \
|
||||
if( pxCurrentTCB->pxTaskTag != NULL ) \
|
||||
{ \
|
||||
extern void vPortRestoreFPURegisters( void * ); \
|
||||
vPortRestoreFPURegisters( ( void * ) ( pxCurrentTCB->pxTaskTag ) ); \
|
||||
}
|
||||
|
||||
* load the flop context from the buffer. */
|
||||
#define traceTASK_SWITCHED_IN() \
|
||||
if( pxCurrentTCB->pxTaskTag != NULL ) \
|
||||
{ \
|
||||
extern void vPortRestoreFPURegisters( void * ); \
|
||||
vPortRestoreFPURegisters( ( void * ) ( pxCurrentTCB->pxTaskTag ) ); \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user