Style: uncrustify kernel files

This commit is contained in:
Alfred Gedeon 2020-07-07 17:42:07 -07:00 committed by alfred gedeon
parent 66a815653b
commit 587a83d647
385 changed files with 4714 additions and 4338 deletions

View file

@ -1,19 +1,19 @@
EXTERN pxCurrentTCB
EXTERN ulCriticalNesting
EXTERN ulCriticalNesting
;
Context save and restore macro definitions
Context save and restore macro definitions
;
portSAVE_CONTEXT MACRO
;
Push R0 as we are going to use the register.
STMDB SP !, { R0 }
STMDB SP !, { R0 }
;
Set R0 to point to the task stack pointer.
STMDB SP, { SP } ^
STMDB SP, { SP } ^
NOP
SUB SP, SP, # 4
LDMIA SP !, { R0 }
@ -25,7 +25,7 @@ Push the return address onto the stack.
;
Now we have saved LR we can use it instead of R0.
MOV LR, R0
MOV LR, R0
;
Pop R0 so we can save it onto the system mode stack.
@ -82,7 +82,7 @@ Restore all system mode registers for the task.
NOP
;
Restore the return address.
Restore the return address.
LDR LR, [ LR, # + 60 ]
;