/ThreadX-v6.4.1/ports/cortex_a9/ghs/src/ |
D | tx_thread_context_save.arm | 53 /* This function saves the context of an executing thread in the */ 139 /* Otherwise, not nested, check to see if a thread was running. */ 145 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 146 LDR r0, [r1] # Pickup current thread pointer 151 /* Save minimal context of interrupted thread. */ 157 /* Save the current stack pointer in the thread's control block. */
|
D | tx_thread_fiq_context_save.arm | 47 /* This function saves the context of an executing thread in the */ 122 /* Otherwise, not nested, check to see if a thread was running. */ 128 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 129 LDR r0, [r1] # Pickup current thread pointer 134 /* Save minimal context of interrupted thread. */ 144 /* Save the current stack pointer in the thread's control block. */
|
/ThreadX-v6.4.1/ports/risc-v32/iar/src/ |
D | tx_thread_context_restore.s | 186 lw t1, _tx_thread_current_ptr ; Pickup current thread pointer 190 bgtz t2, _tx_thread_no_preempt_restore ; If set, restore interrupted thread 192 lw t2, _tx_thread_execute_ptr ; Pickup thread execute pointer 193 … bne t1, t2, _tx_thread_preempt_restore ; If higher-priority thread is ready, preempt 202 lw sp, 8(t1) ; Switch back to thread's stack 335 sw x0, _tx_thread_current_ptr, t0 ; Clear current thread pointer*/
|
/ThreadX-v6.4.1/ports/cortex_r5/ghs/src/ |
D | tx_thread_context_save.arm | 53 /* This function saves the context of an executing thread in the */ 139 /* Otherwise, not nested, check to see if a thread was running. */ 145 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 146 LDR r0, [r1] # Pickup current thread pointer 151 /* Save minimal context of interrupted thread. */ 157 /* Save the current stack pointer in the thread's control block. */
|
D | tx_thread_fiq_context_save.arm | 47 /* This function saves the context of an executing thread in the */ 122 /* Otherwise, not nested, check to see if a thread was running. */ 128 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 129 LDR r0, [r1] # Pickup current thread pointer 134 /* Save minimal context of interrupted thread. */ 144 /* Save the current stack pointer in the thread's control block. */
|
/ThreadX-v6.4.1/ports/cortex_a8/ghs/src/ |
D | tx_thread_context_save.arm | 53 /* This function saves the context of an executing thread in the */ 139 /* Otherwise, not nested, check to see if a thread was running. */ 145 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 146 LDR r0, [r1] # Pickup current thread pointer 151 /* Save minimal context of interrupted thread. */ 157 /* Save the current stack pointer in the thread's control block. */
|
D | tx_thread_fiq_context_save.arm | 47 /* This function saves the context of an executing thread in the */ 122 /* Otherwise, not nested, check to see if a thread was running. */ 128 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 129 LDR r0, [r1] # Pickup current thread pointer 134 /* Save minimal context of interrupted thread. */ 144 /* Save the current stack pointer in the thread's control block. */
|
/ThreadX-v6.4.1/ports/cortex_a7/ghs/src/ |
D | tx_thread_context_save.arm | 53 /* This function saves the context of an executing thread in the */ 139 /* Otherwise, not nested, check to see if a thread was running. */ 145 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 146 LDR r0, [r1] # Pickup current thread pointer 151 /* Save minimal context of interrupted thread. */ 157 /* Save the current stack pointer in the thread's control block. */
|
D | tx_thread_fiq_context_save.arm | 47 /* This function saves the context of an executing thread in the */ 122 /* Otherwise, not nested, check to see if a thread was running. */ 128 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 129 LDR r0, [r1] # Pickup current thread pointer 134 /* Save minimal context of interrupted thread. */ 144 /* Save the current stack pointer in the thread's control block. */
|
/ThreadX-v6.4.1/ports/cortex_a5/ghs/src/ |
D | tx_thread_context_save.arm | 53 /* This function saves the context of an executing thread in the */ 139 /* Otherwise, not nested, check to see if a thread was running. */ 145 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 146 LDR r0, [r1] # Pickup current thread pointer 151 /* Save minimal context of interrupted thread. */ 157 /* Save the current stack pointer in the thread's control block. */
|
D | tx_thread_fiq_context_save.arm | 47 /* This function saves the context of an executing thread in the */ 122 /* Otherwise, not nested, check to see if a thread was running. */ 128 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 129 LDR r0, [r1] # Pickup current thread pointer 134 /* Save minimal context of interrupted thread. */ 144 /* Save the current stack pointer in the thread's control block. */
|
/ThreadX-v6.4.1/ports/cortex_r7/ghs/src/ |
D | tx_thread_fiq_context_save.arm | 47 /* This function saves the context of an executing thread in the */ 122 /* Otherwise, not nested, check to see if a thread was running. */ 128 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 129 LDR r0, [r1] # Pickup current thread pointer 134 /* Save minimal context of interrupted thread. */ 144 /* Save the current stack pointer in the thread's control block. */
|
/ThreadX-v6.4.1/ports/cortex_r4/ghs/src/ |
D | tx_thread_context_save.arm | 53 /* This function saves the context of an executing thread in the */ 139 /* Otherwise, not nested, check to see if a thread was running. */ 145 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 146 LDR r0, [r1] # Pickup current thread pointer 151 /* Save minimal context of interrupted thread. */ 157 /* Save the current stack pointer in the thread's control block. */
|
D | tx_thread_fiq_context_save.arm | 47 /* This function saves the context of an executing thread in the */ 122 /* Otherwise, not nested, check to see if a thread was running. */ 128 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr 129 LDR r0, [r1] # Pickup current thread pointer 134 /* Save minimal context of interrupted thread. */ 144 /* Save the current stack pointer in the thread's control block. */
|
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/green/src/ |
D | tx_thread_stack_build.mip | 39 /* This function builds a stack frame on the supplied thread's stack. */ 45 /* thread_ptr Pointer to thread control blk */ 58 /* _tx_thread_create Create thread service */ 269 /* Set bit indicating the thread is ready for scheduling. */ 271 lw $9, 156($4) # Pickup the thread's VPE control register 273 sw $9, 156($4) # Make this thread ready for scheduling 279 sw $8, 8($4) # Save stack pointer in thread's
|
/ThreadX-v6.4.1/ports/linux/gnu/ |
D | readme_threadx.txt | 55 thread in ThreadX actually runs as a Linux pthread. The determination of 56 which application thread to run is made by the ThreadX 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_a9_smp/gnu/src/ |
D | tx_thread_system_return.S | 103 LDR r0, [r3, #0] @ Pickup current thread pointer 133 BL _tx_execution_thread_exit @ Call the thread exit function 147 STR sp, [r0, #8] @ Save thread stack pointer
|
/ThreadX-v6.4.1/ports_smp/cortex_a7_smp/gnu/src/ |
D | tx_thread_system_return.S | 103 LDR r0, [r3, #0] @ Pickup current thread pointer 133 BL _tx_execution_thread_exit @ Call the thread exit function 147 STR sp, [r0, #8] @ Save thread stack pointer
|
/ThreadX-v6.4.1/ports_smp/cortex_a5_smp/gnu/src/ |
D | tx_thread_system_return.S | 103 LDR r0, [r3, #0] @ Pickup current thread pointer 133 BL _tx_execution_thread_exit @ Call the thread exit function 147 STR sp, [r0, #8] @ Save thread stack pointer
|
/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/ |
D | tx_posix.h | 500 INT pthread_create (pthread_t *thread, pthread_attr_t *attr, 502 INT pthread_detach(pthread_t thread); 503 INT pthread_join(pthread_t thread, VOID **value_ptr); 541 INT pthread_cancel(pthread_t thread); 545 INT pthread_setschedparam(pthread_t thread, INT policy, const struct sched_param … 546 INT pthread_getschedparam(pthread_t thread, INT *policy, struct sched_param *para…
|
/ThreadX-v6.4.1/ports_module/cortex_r4/iar/example_build/ |
D | tx_initialize_low_level.s | 323 LDR r0, =_tx_thread_current_ptr ; Build current thread pointer address 324 LDR r1, [r0] ; Pickup the current thread pointer 325 STR r1, [r3, #0] ; Save current thread pointer 383 BL _tx_execution_thread_exit ; Call the thread exit function 392 LDR r0, =_tx_thread_current_ptr ; Pickup address of current thread pointer 393 STR r1, [r0] ; Clear current thread pointer
|
/ThreadX-v6.4.1/ports/rxv1/ccrx/src/ |
D | tx_thread_stack_build.src | 45 ;/* This function builds a stack frame on the supplied thread's stack. */ 51 ;/* thread_ptr Pointer to thread control blk */ 64 ;/* _tx_thread_create Create thread service */ 144 ; Store initial SP in thread control block
|
/ThreadX-v6.4.1/ports/rxv2/ccrx/src/ |
D | tx_thread_stack_build.src | 45 ;/* This function builds a stack frame on the supplied thread's stack. */ 51 ;/* thread_ptr Pointer to thread control blk */ 64 ;/* _tx_thread_create Create thread service */ 154 ; Store initial SP in thread control block
|
/ThreadX-v6.4.1/ports/rxv3/ccrx/src/ |
D | tx_thread_stack_build.src | 45 ;/* This function builds a stack frame on the supplied thread's stack. */ 51 ;/* thread_ptr Pointer to thread control blk */ 64 ;/* _tx_thread_create Create thread service */ 152 ; Store initial SP in thread control block
|
/ThreadX-v6.4.1/ports_module/cortex_a7/iar/module_manager/src/ |
D | tx_thread_fiq_context_restore.s | 152 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 153 LDR r0, [r1] ; Pickup actual current thread pointer 209 PUSH {r0-r3} ; Save r0-r3 on thread's stack 242 STR r2, [r0, #24] ; Save thread's time-slice
|