Revert Portable/Paradigm formatting (#830)

Revert the formatting on Paradigm ports
This commit is contained in:
Soren Ptak 2023-12-07 11:32:49 -05:00 committed by GitHub
parent db5df4bfde
commit 0debe8c669
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 188 additions and 206 deletions

View file

@ -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