Lines Matching refs:R1
71 STR R1, [R2]
74 LDR R1, =NVIC_PENDSVSET
75 STR R1, [R0]
91 LDR R1, [R0]
92 CMP R1, #0x00
96 MOVS R1, #0
97 STR R1, [R0]
100 LDR R1, [R0]
101 CMP R1, #0x00
104 MRS R1, PSP /* get from thread stack pointer */
106 SUBS R1, R1, #0x20 /* space for {R4 - R7} and {R8 - R11} */
108 STR R1, [R0] /* update from thread stack pointer */
110 STMIA R1!, {R4 - R7} /* push thread {R4 - R7} register to thread stack */
116 STMIA R1!, {R4 - R7} /* push thread {R8 - R11} high register to thread stack */
118 LDR R1, =rt_interrupt_to_thread
119 LDR R1, [R1]
120 LDR R1, [R1] /* load thread stack pointer */
122 LDMIA R1!, {R4 - R7} /* pop thread {R4 - R7} register from thread stack */
125 …LDMIA R1!, {R4 - R7} /* pop thread {R8 - R11} high register from thread stack to {R4 - …
133 MSR PSP, R1 /* update stack pointer */
149 LDR R1, =rt_interrupt_to_thread
150 STR R0, [R1]
153 LDR R1, =rt_interrupt_from_thread
155 STR R0, [R1]
158 LDR R1, =rt_thread_switch_interrupt_flag
160 STR R0, [R1]
164 LDR R1, =NVIC_PENDSV_PRI
166 ORRS R1, R1, R2 /* modify */
167 STR R1, [R0] /* write-back */
170 LDR R1, =NVIC_PENDSVSET
171 STR R1, [R0]