Lines Matching refs:to
25 NVIC_PENDSVSET EQU 0x10000000 ; value to trigger PendSV exception
65 ; set rt_thread_switch_interrupt_flag to 1
86 ; r1 --> switch to thread stack
91 ; disable interrupt to protect context switch
106 ; clear rt_thread_switch_interrupt_flag to 0
131 ; push PSPLIM CONTROL PSP LR current_context to stack
135 STMFD r5!, {r1-r4} ; push to thread stack
160 STMFD r1!, {r2-r5} ; push to thread stack
224 ; set from thread to 0
229 ; set interrupt flag to 1
292 STMFD r0!, {r2-r5} ; push to thread stack
298 MSR psp, r0 ; update stack pointer to PSP.
301 MSR msp, r0 ; update stack pointer to MSP.