Lines Matching refs:to
24 NVIC_PENDSVSET EQU 0x10000000 ; value to trigger PendSV exception
67 ; set rt_thread_switch_interrupt_flag to 1
89 ; r1 --> switch to thread stack
94 ; disable interrupt to protect context switch
109 ; clear rt_thread_switch_interrupt_flag to 0
134 ; push PSPLIM CONTROL PSP LR current_context to stack
138 STMFD r5!, {r1-r4} ; push to thread stack
161 STMFD r1!, {r2-r5} ; push to thread stack
214 ; set to thread
225 ; set from thread to 0
230 ; set interrupt flag to 1
293 STMFD r0!, {r2-r5} ; push to thread stack
299 MSR psp, r0 ; update stack pointer to PSP
302 MSR msp, r0 ; update stack pointer to MSP