mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 18:18:32 -04:00
Style: uncrusitfy
This commit is contained in:
parent
a5dbc2b1de
commit
718178c68a
406 changed files with 108795 additions and 106323 deletions
|
@ -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 ) ); \
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue