mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-31 15:38:40 -04:00
Style: Revert uncrustify for portable directories (#122)
* Style: revert uncrustify portable directories * Style: Uncrustify Some Portable files Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
This commit is contained in:
parent
a6da1cd0ce
commit
86653e2a1f
273 changed files with 64802 additions and 65931 deletions
|
@ -46,26 +46,27 @@ void portEND_SWITCHING_ISR( void );
|
|||
*/
|
||||
void portFIRST_CONTEXT( void );
|
||||
|
||||
#define portEND_SWITCHING_ISR() \
|
||||
asm { mov bx, [ pxCurrentTCB ] } \
|
||||
asm { mov word ptr[ bx ], sp } \
|
||||
asm { call far ptr vTaskSwitchContext } \
|
||||
asm { mov bx, [ pxCurrentTCB ] } \
|
||||
asm { mov sp, [ bx ] }
|
||||
#define portEND_SWITCHING_ISR() \
|
||||
asm { mov bx, [pxCurrentTCB] } \
|
||||
asm { mov word ptr [bx], sp } \
|
||||
asm { call far ptr vTaskSwitchContext } \
|
||||
asm { mov bx, [pxCurrentTCB] } \
|
||||
asm { mov sp, [bx] }
|
||||
|
||||
#define portFIRST_CONTEXT() \
|
||||
asm { mov bx, [ pxCurrentTCB ] } \
|
||||
asm { mov sp, [ bx ] } \
|
||||
asm { pop bp } \
|
||||
asm { pop di } \
|
||||
asm { pop si } \
|
||||
asm { pop ds } \
|
||||
asm { pop es } \
|
||||
asm { pop dx } \
|
||||
asm { pop cx } \
|
||||
asm { pop bx } \
|
||||
asm { pop ax } \
|
||||
asm { iret }
|
||||
#define portFIRST_CONTEXT() \
|
||||
asm { mov bx, [pxCurrentTCB] } \
|
||||
asm { mov sp, [bx] } \
|
||||
asm { pop bp } \
|
||||
asm { pop di } \
|
||||
asm { pop si } \
|
||||
asm { pop ds } \
|
||||
asm { pop es } \
|
||||
asm { pop dx } \
|
||||
asm { pop cx } \
|
||||
asm { pop bx } \
|
||||
asm { pop ax } \
|
||||
asm { iret }
|
||||
|
||||
|
||||
#endif /* ifndef PORT_ASM_H */
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue