Lines Matching refs:to
24 NVIC_PENDSVSET EQU 0x10000000 ; value to trigger PendSV exception
61 ; set rt_thread_switch_interrupt_flag to 1
82 ; r1 --> switch to thread stack
87 ; disable interrupt to protect context switch
97 ; clear rt_thread_switch_interrupt_flag to 0
112 STMIA r1!, {r4 - r7} ; push thread {r4 - r7} register to thread stack
114 MOV r4, r8 ; mov thread {r8 - r11} to {r4 - r7}
118 STMIA r1!, {r4 - r7} ; push thread {r8 - r11} high register to thread stack
126 PUSH {r4 - r7} ; push {r4 - r7} to MSP for copy {r8 - r11}
128 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r…
129 MOV r8, r4 ; mov {r4 - r7} to {r8 - r11}
153 ; set to thread
157 ; set from thread to 0
162 ; set interrupt flag to 1