| /libcpu/blackfin/bf53x/ |
| A D | cpuport.c | 59 void rt_hw_context_switch(rt_uint32_t from, rt_uint32_t to) in rt_hw_context_switch() argument 64 rt_interrupt_from_thread = from; in rt_hw_context_switch() 71 void rt_hw_context_switch_interrupt(rt_uint32_t from, rt_uint32_t to) in rt_hw_context_switch_interrupt() argument 76 rt_interrupt_from_thread = from; in rt_hw_context_switch_interrupt()
|
| /libcpu/m16c/m16c62p/ |
| A D | cpuport.c | 77 void rt_hw_context_switch(rt_uint32_t from, rt_uint32_t to) in rt_hw_context_switch() argument 79 rt_interrupt_from_thread = from; in rt_hw_context_switch() 84 void rt_hw_context_switch_interrupt(rt_uint32_t from, rt_uint32_t to) in rt_hw_context_switch_interrupt() argument 89 rt_interrupt_from_thread = from; in rt_hw_context_switch_interrupt()
|
| /libcpu/v850/70f34/ |
| A D | cpuport.c | 81 void rt_hw_context_switch(rt_uint32_t from, rt_uint32_t to) in rt_hw_context_switch() argument 83 rt_interrupt_from_thread = from; in rt_hw_context_switch() 88 void rt_hw_context_switch_interrupt(rt_uint32_t from, rt_uint32_t to) in rt_hw_context_switch_interrupt() argument 93 rt_interrupt_from_thread = from; in rt_hw_context_switch_interrupt()
|
| A D | context_iar.S | 91 ;Return from interrupt starts new task! 108 ;Return from interrupt starts new task! 115 ld.w 0[r1], sp ;load sp from struct 117 ;Restore all Processor registers from stack and return from interrupt 131 ;Restore all Processor registers from stack and return from interrupt
|
| A D | context_iar.asm | 91 ;Return from interrupt starts new task! 108 ;Return from interrupt starts new task! 115 ld.w 0[r1], sp ;load sp from struct 117 ;Restore all Processor registers from stack and return from interrupt 131 ;Restore all Processor registers from stack and return from interrupt
|
| /libcpu/arm/cortex-m0/ |
| A D | context_iar.S | 80 ; r0 --> switch from thread stack 82 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 105 MRS r1, psp ; get from thread stack pointer 109 STR r1, [r0] ; update from thread stack pointer 124 LDMIA r1!, {r4 - r7} ; pop thread {r4 - r7} register from thread stack 127 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r… 133 POP {r4 - r7} ; pop {r4 - r7} from MSP 156 ; set from thread to 0
|
| A D | context_rvds.S | 84 ; r0 --> switch from thread stack 86 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 109 MRS r1, psp ; get from thread stack pointer 113 STR r1, [r0] ; update from thread stack pointer 128 LDMIA r1!, {r4 - r7} ; pop thread {r4 - r7} register from thread stack 131 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r… 137 POP {r4 - r7} ; pop {r4 - r7} from MSP 161 ; set from thread to 0
|
| /libcpu/arm/cortex-m23/ |
| A D | context_iar.S | 81 ; r0 --> switch from thread stack 83 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 106 MRS r1, psp ; get from thread stack pointer 110 STR r1, [r0] ; update from thread stack pointer 125 LDMIA r1!, {r4 - r7} ; pop thread {r4 - r7} register from thread stack 128 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r… 134 POP {r4 - r7} ; pop {r4 - r7} from MSP 157 ; set from thread to 0
|
| A D | context_rvds.S | 85 ; r0 --> switch from thread stack 87 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 110 MRS r1, psp ; get from thread stack pointer 114 STR r1, [r0] ; update from thread stack pointer 129 LDMIA r1!, {r4 - r7} ; pop thread {r4 - r7} register from thread stack 132 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r… 138 POP {r4 - r7} ; pop {r4 - r7} from MSP 162 ; set from thread to 0
|
| /libcpu/rx/ |
| A D | cpuport.c | 146 void rt_hw_context_switch(rt_uint32_t from, rt_uint32_t to) in rt_hw_context_switch() argument 151 rt_interrupt_from_thread = from; in rt_hw_context_switch() 165 void rt_hw_context_switch_interrupt(rt_uint32_t from, rt_uint32_t to) in rt_hw_context_switch_interrupt() argument 170 rt_interrupt_from_thread = from; in rt_hw_context_switch_interrupt()
|
| /libcpu/ia32/ |
| A D | cpuport.c | 31 void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to, rt_thread_t from_thread, rt_thr… in rt_hw_context_switch_interrupt() argument 34 rt_interrupt_from_thread = from; in rt_hw_context_switch_interrupt()
|
| /libcpu/arm/cortex-m3/ |
| A D | context_iar.S | 80 ; r0 --> switch from thread stack 82 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 103 MRS r1, psp ; get from thread stack pointer 106 STR r1, [r0] ; update from thread stack pointer 132 ; set from thread to 0 180 MRS r0, msp ; get fault context from handler. 183 MRS r0, psp ; get fault context from thread.
|
| A D | context_rvds.S | 83 ; r0 --> switch from thread stack 85 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 106 MRS r1, psp ; get from thread stack pointer 109 STR r1, [r0] ; update from thread stack pointer 138 ; set from thread to 0 190 MRSEQ r0, msp ; [2]=0 ==> Z=1, get fault context from handler. 191 MRSNE r0, psp ; [2]=1 ==> Z=0, get fault context from thread.
|
| /libcpu/risc-v/common/ |
| A D | cpuport.c | 87 rt_weak void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to, rt_thread_t from_thread… in rt_hw_context_switch_interrupt() argument 90 rt_interrupt_from_thread = from; in rt_hw_context_switch_interrupt()
|
| /libcpu/ti-dsp/c28x/ |
| A D | context.s | 31 ;importing settings from compiler and config 102 ; void rt_hw_context_switch(rt_uint32 from, rt_uint32 to); 103 ; ACC --> from 134 ; void rt_hw_context_switch(rt_uint32 from, rt_uint32 to); 135 ; ACC --> from 169 ; set from thread to 0
|
| /libcpu/arm/cortex-m7/ |
| A D | context_iar.S | 82 ; r0 --> switch from thread stack 84 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 105 MRS r1, psp ; get from thread stack pointer 128 STR r1, [r0] ; update from thread stack pointer 179 ; set from thread to 0 227 MRS r0, msp ; get fault context from handler. 230 MRS r0, psp ; get fault context from thread.
|
| A D | context_rvds.S | 85 ; r0 --> switch from thread stack 87 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 108 MRS r1, psp ; get from thread stack pointer 127 STR r1, [r0] ; update from thread stack pointer 179 ; set from thread to 0 233 MRSEQ r0, msp ; [2]=0 ==> Z=1, get fault context from handler. 234 MRSNE r0, psp ; [2]=1 ==> Z=0, get fault context from thread.
|
| /libcpu/risc-v/common64/ |
| A D | cpuport.c | 110 void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to, rt_thread_t from_thread, rt_thr… in rt_hw_context_switch_interrupt() argument 113 rt_interrupt_from_thread = from; in rt_hw_context_switch_interrupt()
|
| /libcpu/arc/common/ |
| A D | SConscript | 1 from building import *
|
| /libcpu/arm/cortex-m33/ |
| A D | context_iar.S | 85 ; r0 --> switch from thread stack 87 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 126 ; check break from TrustZone 137 ; update from thread stack pointer 144 MRS r1, psp ; get from thread stack pointer 163 STR r1, [r0] ; update from thread stack pointer 224 ; set from thread to 0 272 MRS r0, msp ; get fault context from handler. 275 MRS r0, psp ; get fault context from thread.
|
| A D | context_rvds.S | 88 ; r0 --> switch from thread stack 90 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 129 ; check break from TrustZone 140 ; update from thread stack pointer 147 MRS r1, psp ; get from thread stack pointer 164 STR r1, [r0] ; update from thread stack pointer 225 ; set from thread to 0 275 MRS r0, msp ; get fault context from handler 278 MRS r0, psp ; get fault context from thread
|
| /libcpu/arm/cortex-m4/ |
| A D | context_iar.S | 85 ; r0 --> switch from thread stack 87 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 108 MRS r1, psp ; get from thread stack pointer 131 STR r1, [r0] ; update from thread stack pointer 182 ; set from thread to 0 234 MRS r0, msp ; get fault context from handler. 237 MRS r0, psp ; get fault context from thread.
|
| A D | context_rvds.S | 86 ; r0 --> switch from thread stack 88 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack 109 MRS r1, psp ; get from thread stack pointer 128 STR r1, [r0] ; update from thread stack pointer 180 ; set from thread to 0 236 MRSEQ r0, msp ; [2]=0 ==> Z=1, get fault context from handler. 237 MRSNE r0, psp ; [2]=1 ==> Z=0, get fault context from thread.
|
| /libcpu/risc-v/vector/ |
| A D | SConscript | 3 from building import *
|
| /libcpu/sim/win32/ |
| A D | SConscript | 3 from building import *
|