Lines Matching refs:to
23 NVIC_PENDSVSET EQU 0x10000000 ; value to trigger PendSV exception
60 ; set rt_thread_switch_interrupt_flag to 1
81 ; r1 --> switch to thread stack
86 ; disable interrupt to protect context switch
96 ; clear rt_thread_switch_interrupt_flag to 0
111 STMIA r1!, {r4 - r7} ; push thread {r4 - r7} register to thread stack
113 MOV r4, r8 ; mov thread {r8 - r11} to {r4 - r7}
117 STMIA r1!, {r4 - r7} ; push thread {r8 - r11} high register to thread stack
125 PUSH {r4 - r7} ; push {r4 - r7} to MSP for copy {r8 - r11}
127 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r…
128 MOV r8, r4 ; mov {r4 - r7} to {r8 - r11}
152 ; set to thread
156 ; set from thread to 0
161 ; set interrupt flag to 1