Lines Matching refs:to
23 NVIC_PENDSVSET EQU 0x10000000 ; value to trigger PendSV exception
63 ; set rt_thread_switch_interrupt_flag to 1
85 ; r1 --> switch to thread stack
90 ; disable interrupt to protect context switch
100 ; clear rt_thread_switch_interrupt_flag to 0
115 STMIA r1!, {r4 - r7} ; push thread {r4 - r7} register to thread stack
117 MOV r4, r8 ; mov thread {r8 - r11} to {r4 - r7}
121 STMIA r1!, {r4 - r7} ; push thread {r8 - r11} high register to thread stack
129 PUSH {r4 - r7} ; push {r4 - r7} to MSP for copy {r8 - r11}
131 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r…
132 MOV r8, r4 ; mov {r4 - r7} to {r8 - r11}
157 ; set to thread
161 ; set from thread to 0
166 ; set interrupt flag to 1