mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Style: uncrustify kernel files
This commit is contained in:
parent
66a815653b
commit
587a83d647
385 changed files with 4714 additions and 4338 deletions
|
@ -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 ]
|
||||
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue