cpu/cortexm_common: Code style

Fix code alignment
This commit is contained in:
Marian Buschsieweke 2020-09-25 13:52:48 +02:00
parent 304f4ec7d4
commit 49f3d1056d
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -387,7 +387,7 @@ void __attribute__((naked)) __attribute__((used)) isr_pendsv(void) {
"mov r1, r9 \n"
"mov r2, r10 \n"
"mov r3, r11 \n"
"push {r0-r7,lr} \n" /* now push them onto the stack */
"push {r0-r7,lr} \n" /* now push them onto the stack */
/* SP should match the expected SP calculated above from here on */
/* current thread context is now saved */
@ -407,7 +407,7 @@ void __attribute__((naked)) __attribute__((used)) isr_pendsv(void) {
/* restore the application mode stack pointer PSP */
"mov r1, sp \n" /* restore the user mode SP */
"msr psp, r1 \n" /* for this write it to the PSP reg */
"mov sp, r12 \n" /* and get the parked MSR SP back */
"mov sp, r12 \n" /* and get the parked MSR SP back */
"bx r0 \n" /* load exception return value to PC,
* causes end of exception*/
#endif