/ThreadX-v6.4.1/ports_smp/cortex_a9_smp/ac5/src/ |
D | tx_thread_system_return.s | 101 LDR r0, [r3, #0] ; Pickup current thread pointer 131 BL _tx_execution_thread_exit ; Call the thread exit function 145 STR sp, [r0, #8] ; Save thread stack pointer
|
/ThreadX-v6.4.1/ports_smp/cortex_a7_smp/ac5/src/ |
D | tx_thread_system_return.s | 101 LDR r0, [r3, #0] ; Pickup current thread pointer 131 BL _tx_execution_thread_exit ; Call the thread exit function 145 STR sp, [r0, #8] ; Save thread stack pointer
|
D | tx_thread_context_restore.s | 162 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 176 BNE __tx_thread_no_preempt_restore ; Yes, don't preempt this thread 179 LDR r3, =_tx_thread_execute_ptr ; Pickup address of execute thread ptr 287 STMDB sp!, {r0-r3} ; Save r0-r3 on thread's stack 331 STR r2, [r0, #24] ; Save thread's time-slice
|
/ThreadX-v6.4.1/ports_smp/cortex_a5_smp/ac5/src/ |
D | tx_thread_system_return.s | 101 LDR r0, [r3, #0] ; Pickup current thread pointer 131 BL _tx_execution_thread_exit ; Call the thread exit function 145 STR sp, [r0, #8] ; Save thread stack pointer
|
D | tx_thread_context_restore.s | 162 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 176 BNE __tx_thread_no_preempt_restore ; Yes, don't preempt this thread 179 LDR r3, =_tx_thread_execute_ptr ; Pickup address of execute thread ptr 289 STMDB sp!, {r0-r3} ; Save r0-r3 on thread's stack 333 STR r2, [r0, #24] ; Save thread's time-slice
|
/ThreadX-v6.4.1/ports_smp/linux/gnu/ |
D | readme_threadx.txt | 55 thread in ThreadX SMP actually runs as a Linux pthread. The determination of 56 which application thread to run is made by the ThreadX SMP scheduler, which 58 thread in the system. 91 necessary to create a simulated interrupt thread: 98 Here is an example of how to create a simulated interrupt thread in Linux. 104 /* Create the ISR thread */ 115 The following is a template for the simulated interrupt thread. This interrupt will occur on
|
/ThreadX-v6.4.1/ports_smp/cortex_a5x_smp/green/src/ |
D | tx_thread_context_save.a64 | 47 /* This function saves the context of an executing thread in the */ 147 /* Otherwise, not nested, check to see if a thread was running. */ 153 LDR x2, =_tx_thread_current_ptr // Pickup address of current thread ptr 154 LDR x0, [x2, x1, LSL #3] // Pickup current thread pointer 159 /* Save minimal context of interrupted thread. */ 183 /* Save the current stack pointer in the thread's control block. */ 187 STR x4, [x0, #8] // Save thread stack pointer
|
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/green/src/ |
D | tx_thread_context_save.mip | 42 /* This function saves the context of an executing thread in the */ 111 /* Check if FPU is enabled for this thread. Note that threads with FPU enabled will only be 184 /* Otherwise, not nested, check to see if a thread was running. */ 192 lw $8, ($26) # Pickup current thread pointer 196 /* Save minimal context of interrupted thread. */ 200 /* Check if FPU is enabled for this thread. Note that threads with FPU enabled will only be 268 /* Save the current stack pointer in the thread's control block. */ 277 lw $11, ($9) # Pickup current thread pointer
|
/ThreadX-v6.4.1/ports_module/cortex_a35_smp/ac6/ |
D | readme_threadx.txt | 52 C function). In such cases, the saved context of a thread is only the 56 that occur as a result of interrupt handling or from thread-level API calls. 58 of the suspended thread's stack is pointed to by tx_thread_stack_ptr in the 59 associated thread control block TX_THREAD. 218 ThreadX SMP requires a periodic interrupt source to manage all time-slicing, thread sleeps, 226 By default, FP support is disabled for each thread. If saving the context of the FP registers 227 is needed, the following API call must be made from the context of the application thread - before 232 After this API is called in the application, FP registers will be saved/restored for this thread if… 233 is preempted via an interrupt. All other suspension of the this thread will not require the FP regi…
|
/ThreadX-v6.4.1/ports_module/cortex_a35_smp/gnu/ |
D | readme_threadx.txt | 52 C function). In such cases, the saved context of a thread is only the 56 that occur as a result of interrupt handling or from thread-level API calls. 58 of the suspended thread's stack is pointed to by tx_thread_stack_ptr in the 59 associated thread control block TX_THREAD. 218 ThreadX SMP requires a periodic interrupt source to manage all time-slicing, thread sleeps, 226 By default, FP support is disabled for each thread. If saving the context of the FP registers 227 is needed, the following API call must be made from the context of the application thread - before 232 After this API is called in the application, FP registers will be saved/restored for this thread if… 233 is preempted via an interrupt. All other suspension of the this thread will not require the FP regi…
|
/ThreadX-v6.4.1/ports_smp/cortex_a5x_smp/iar/ |
D | readme_threadx.txt | 47 C function). In such cases, the saved context of a thread is only the 51 that occur as a result of interrupt handling or from thread-level API calls. 53 of the suspended thread's stack is pointed to by tx_thread_stack_ptr in the 54 associated thread control block TX_THREAD. 214 ThreadX SMP requires a periodic interrupt source to manage all time-slicing, thread sleeps, 222 By default, FP support is disabled for each thread. If saving the context of the FP registers 223 is needed, the following API call must be made from the context of the application thread - before 228 After this API is called in the application, FP registers will be saved/restored for this thread if… 229 is preempted via an interrupt. All other suspension of the this thread will not require the FP regi…
|
/ThreadX-v6.4.1/ports_smp/cortex_a35_smp/ac6/ |
D | readme_threadx.txt | 52 C function). In such cases, the saved context of a thread is only the 56 that occur as a result of interrupt handling or from thread-level API calls. 58 of the suspended thread's stack is pointed to by tx_thread_stack_ptr in the 59 associated thread control block TX_THREAD. 218 ThreadX SMP requires a periodic interrupt source to manage all time-slicing, thread sleeps, 226 By default, FP support is disabled for each thread. If saving the context of the FP registers 227 is needed, the following API call must be made from the context of the application thread - before 232 After this API is called in the application, FP registers will be saved/restored for this thread if… 233 is preempted via an interrupt. All other suspension of the this thread will not require the FP regi…
|
/ThreadX-v6.4.1/ports/cortex_a5x/ac6/ |
D | readme_threadx.txt | 53 C function). In such cases, the saved context of a thread is only the 57 that occur as a result of interrupt handling or from thread-level API calls. 59 of the suspended thread's stack is pointed to by tx_thread_stack_ptr in the 60 associated thread control block TX_THREAD. 219 ThreadX requires a periodic interrupt source to manage all time-slicing, thread sleeps, 227 By default, FP support is disabled for each thread. If saving the context of the FP registers 228 is needed, the following API call must be made from the context of the application thread - before 233 After this API is called in the application, FP registers will be saved/restored for this thread if… 234 is preempted via an interrupt. All other suspension of the this thread will not require the FP regi…
|
/ThreadX-v6.4.1/ports/cortex_a35/ac6/ |
D | readme_threadx.txt | 51 C function). In such cases, the saved context of a thread is only the 55 that occur as a result of interrupt handling or from thread-level API calls. 57 of the suspended thread's stack is pointed to by tx_thread_stack_ptr in the 58 associated thread control block TX_THREAD. 217 ThreadX requires a periodic interrupt source to manage all time-slicing, thread sleeps, 225 By default, FP support is disabled for each thread. If saving the context of the FP registers 226 is needed, the following API call must be made from the context of the application thread - before 231 After this API is called in the application, FP registers will be saved/restored for this thread if… 232 is preempted via an interrupt. All other suspension of the this thread will not require the FP regi…
|
/ThreadX-v6.4.1/ports/cortex_a35/gnu/ |
D | readme_threadx.txt | 51 C function). In such cases, the saved context of a thread is only the 55 that occur as a result of interrupt handling or from thread-level API calls. 57 of the suspended thread's stack is pointed to by tx_thread_stack_ptr in the 58 associated thread control block TX_THREAD. 217 ThreadX requires a periodic interrupt source to manage all time-slicing, thread sleeps, 225 By default, FP support is disabled for each thread. If saving the context of the FP registers 226 is needed, the following API call must be made from the context of the application thread - before 231 After this API is called in the application, FP registers will be saved/restored for this thread if… 232 is preempted via an interrupt. All other suspension of the this thread will not require the FP regi…
|
/ThreadX-v6.4.1/ports_smp/cortex_a9_smp/gnu/src/ |
D | tx_thread_vectored_context_save.S | 145 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 146 ADD r1, r1, r12 @ Build index into current thread ptr 147 LDR r0, [r1, #0] @ Pickup current thread pointer
|
D | tx_thread_context_restore.S | 164 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 178 BNE __tx_thread_no_preempt_restore @ Yes, don't preempt this thread 181 LDR r3, =_tx_thread_execute_ptr @ Pickup address of execute thread ptr 291 STMDB sp!, {r0-r3} @ Save r0-r3 on thread's stack 335 STR r2, [r0, #24] @ Save thread's time-slice
|
/ThreadX-v6.4.1/ports_smp/cortex_a7_smp/gnu/src/ |
D | tx_thread_vectored_context_save.S | 145 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 146 ADD r1, r1, r12 @ Build index into current thread ptr 147 LDR r0, [r1, #0] @ Pickup current thread pointer
|
D | tx_thread_context_restore.S | 167 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 181 BNE __tx_thread_no_preempt_restore @ Yes, don't preempt this thread 184 LDR r3, =_tx_thread_execute_ptr @ Pickup address of execute thread ptr 292 STMDB sp!, {r0-r3} @ Save r0-r3 on thread's stack 336 STR r2, [r0, #24] @ Save thread's time-slice
|
/ThreadX-v6.4.1/ports_smp/cortex_a5_smp/gnu/src/ |
D | tx_thread_vectored_context_save.S | 145 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 146 ADD r1, r1, r12 @ Build index into current thread ptr 147 LDR r0, [r1, #0] @ Pickup current thread pointer
|
/ThreadX-v6.4.1/ports/cortex_m7/ghs/src/ |
D | tx_thread_stack_build.arm | 37 ;/* This function builds a stack frame on the supplied thread's stack. */ 43 ;/* thread_ptr Pointer to thread control blk */ 56 ;/* _tx_thread_create Create thread service */ 129 STR r2, [r0, #8] ; Save stack pointer in thread's
|
/ThreadX-v6.4.1/ports/cortex_m3/ghs/src/ |
D | tx_thread_stack_build.arm | 37 ;/* This function builds a stack frame on the supplied thread's stack. */ 43 ;/* thread_ptr Pointer to thread control blk */ 56 ;/* _tx_thread_create Create thread service */ 129 STR r2, [r0, #8] ; Save stack pointer in thread's
|
/ThreadX-v6.4.1/ports_smp/arc_hs_smp/metaware/src/ |
D | tx_thread_context_save.s | 162 mov r2, _tx_thread_current_ptr ; Build address of current thread pointer 164 ld r1, [r2] ; Pickup current thread pointer 167 breq r1, 0, __tx_thread_idle_system_save ; If no thread is running, idle system was 195 st sp, [r1, 8] ; Save thread's stack pointer
|
/ThreadX-v6.4.1/ports_arch/ARMv7-M/threadx/ghs/src/ |
D | tx_thread_stack_build.arm | 36 /* This function builds a stack frame on the supplied thread's stack. */ 42 /* thread_ptr Pointer to thread control blk */ 55 /* _tx_thread_create Create thread service */ 127 STR r2, [r0, #8] // Save stack pointer in thread's
|
/ThreadX-v6.4.1/ports/cortex_m4/ghs/src/ |
D | tx_thread_stack_build.arm | 37 ;/* This function builds a stack frame on the supplied thread's stack. */ 43 ;/* thread_ptr Pointer to thread control blk */ 56 ;/* _tx_thread_create Create thread service */ 129 STR r2, [r0, #8] ; Save stack pointer in thread's
|