Lines Matching refs:R1
72 STR R1, [R2]
75 LDR R1, =PENDSVSET_BIT
76 STR R1, [R0]
92 LDR R1, [R0]
93 CBZ R1, pendsv_exit /* pendsv already handled */
96 MOV R1, #0
97 STR R1, [R0]
100 LDR R1, [R0]
101 CBZ R1, switch_to_thread /* skip register save at the first time */
103 MRS R1, PSP /* get from thread stack pointer */
104 STMFD R1!, {R4 - R11} /* push R4 - R11 register */
106 STR R1, [R0] /* update from thread stack pointer */
109 LDR R1, =rt_interrupt_to_thread
110 LDR R1, [R1]
111 LDR R1, [R1] /* load thread stack pointer */
113 LDMFD R1!, {R4 - R11} /* pop R4 - R11 register */
114 MSR PSP, R1 /* update stack pointer */
130 LDR R1, =rt_interrupt_to_thread
131 STR R0, [R1]
134 LDR R1, =rt_interrupt_from_thread
136 STR R0, [R1]
139 LDR R1, =rt_thread_switch_interrupt_flag
141 STR R0, [R1]
145 LDR R1, =PENDSV_PRI_LOWEST
147 ORR R1, R1, R2 /* modify */
148 STR R1, [R0] /* write-back */
151 LDR R1, =PENDSVSET_BIT
152 STR R1, [R0]