Lines Matching refs:to
24 NVIC_PENDSVSET EQU 0x10000000 ; value to trigger PendSV exception
64 ; set rt_thread_switch_interrupt_flag to 1
86 ; r1 --> switch to thread stack
91 ; disable interrupt to protect context switch
101 ; clear rt_thread_switch_interrupt_flag to 0
116 STMIA r1!, {r4 - r7} ; push thread {r4 - r7} register to thread stack
118 MOV r4, r8 ; mov thread {r8 - r11} to {r4 - r7}
122 STMIA r1!, {r4 - r7} ; push thread {r8 - r11} high register to thread stack
130 PUSH {r4 - r7} ; push {r4 - r7} to MSP for copy {r8 - r11}
132 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r…
133 MOV r8, r4 ; mov {r4 - r7} to {r8 - r11}
158 ; set to thread
162 ; set from thread to 0
167 ; set interrupt flag to 1