mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 18:18:32 -04:00
Revert Portable/Paradigm formatting (#830)
Revert the formatting on Paradigm ports
This commit is contained in:
parent
db5df4bfde
commit
0debe8c669
6 changed files with 188 additions and 206 deletions
|
@ -47,26 +47,26 @@ 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