/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/gnu/src/ |
D | tx_thread_smp_protect.S | 89 la $12, _tx_thread_current_ptr # Pickup the current thread pointer 90 … addu $12, $12, $13 # Build address of current thread pointer for this VPE 91 lw $9, ($12) # Pickup current thread pointer 94 sw $9, 4($10) # Save the current thread pointer
|
/ThreadX-v6.4.1/ports/cortex_a15/iar/src/ |
D | tx_thread_system_return.s | 94 LDR r5, [r4, #0] ; Pickup current thread pointer 123 BL _tx_execution_thread_exit ; Call the thread exit function 126 MOV r0, r5 ; Pickup current thread pointer 134 STR sp, [r0, #8] ; Save thread stack pointer
|
/ThreadX-v6.4.1/ports_smp/cortex_a5x_smp/green/src/ |
D | tx_thread_system_return.a64 | 50 /* control from a thread back to the ThreadX system. Only a */ 96 LDR x6, [x5, x8, LSL #3] // Pickup current thread pointer 117 /* Call the thread exit function to indicate the thread is no longer executing. */ 122 BL _tx_execution_thread_exit // Call the thread exit function 136 STR x4, [x6, #8] // Save thread stack pointer 159 /* Clear the current thread pointer. */ 162 STR x4, [x5, x8, LSL #3] // Clear current thread pointer 164 /* Set ready bit in thread control block. */ 167 STR w3, [x6, #260] // Make the thread ready
|
/ThreadX-v6.4.1/ports_smp/arc_hs_smp/metaware/src/ |
D | tx_thread_smp_protect.s | 101 mov r7, _tx_thread_current_ptr ; Pickup base of the current thread pointer 102 add r7, r7, r0 ; Build address of current thread pointer 103 ld r8, [r7] ; Pickup the current thread pointer 104 st r8, [r4, 4] ; Save the current thread pointer
|
/ThreadX-v6.4.1/ports/cortex_r5/ac6/src/ |
D | tx_thread_context_restore.S | 146 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 147 LDR r0, [r1] @ Pickup actual current thread pointer 194 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 195 LDR r0, [r1] @ Pickup current thread pointer 209 STR sp, [r0, #8] @ Save stack pointer in thread control 236 STR r0, [r1] @ Clear current thread pointer
|
D | tx_thread_fiq_context_restore.S | 149 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 150 LDR r0, [r1] @ Pickup actual current thread pointer 198 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 199 LDR r0, [r1] @ Pickup current thread pointer 200 STR sp, [r0, #8] @ Save stack pointer in thread control 227 STR r0, [r1] @ Clear current thread pointer
|
/ThreadX-v6.4.1/ports/cortex_r5/gnu/src/ |
D | tx_thread_context_restore.S | 140 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 141 LDR r0, [r1] @ Pickup actual current thread pointer 188 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 189 LDR r0, [r1] @ Pickup current thread pointer 203 STR sp, [r0, #8] @ Save stack pointer in thread control 230 STR r0, [r1] @ Clear current thread pointer
|
D | tx_thread_fiq_context_restore.S | 142 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 143 LDR r0, [r1] @ Pickup actual current thread pointer 191 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 192 LDR r0, [r1] @ Pickup current thread pointer 193 STR sp, [r0, #8] @ Save stack pointer in thread control 220 STR r0, [r1] @ Clear current thread pointer
|
/ThreadX-v6.4.1/ports/cortex_r5/iar/src/ |
D | tx_thread_context_restore.s | 137 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 138 LDR r0, [r1] ; Pickup actual current thread pointer 182 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 183 LDR r0, [r1, #0] ; Pickup current thread pointer 197 STR sp, [r0, #8] ; Save stack pointer in thread control 227 STR r0, [r1] ; Clear current thread pointer
|
/ThreadX-v6.4.1/ports/cortex_r4/gnu/src/ |
D | tx_thread_context_restore.S | 140 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 141 LDR r0, [r1] @ Pickup actual current thread pointer 188 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 189 LDR r0, [r1] @ Pickup current thread pointer 203 STR sp, [r0, #8] @ Save stack pointer in thread control 230 STR r0, [r1] @ Clear current thread pointer
|
D | tx_thread_fiq_context_restore.S | 142 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 143 LDR r0, [r1] @ Pickup actual current thread pointer 191 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr 192 LDR r0, [r1] @ Pickup current thread pointer 193 STR sp, [r0, #8] @ Save stack pointer in thread control 220 STR r0, [r1] @ Clear current thread pointer
|
/ThreadX-v6.4.1/ports/cortex_r4/iar/src/ |
D | tx_thread_context_restore.s | 137 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 138 LDR r0, [r1] ; Pickup actual current thread pointer 182 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 183 LDR r0, [r1, #0] ; Pickup current thread pointer 197 STR sp, [r0, #8] ; Save stack pointer in thread control 227 STR r0, [r1] ; Clear current thread pointer
|
/ThreadX-v6.4.1/docs/ |
D | revision_history.txt | 30 … ensure thread context. Modified to use system 71 … setting up thread timeout pointer, and added 72 … macros for extending the thread create, delete, 79 … macros for system state and current thread 160 … optional internal thread extension macro, 161 … added macro for setting up the thread timeout, and 185 … to this thread after the check for owned mutexes, and 189 … necessary, and added macro for setting up the thread 234 thread start macro for performing port 236 a thread starts, and added constant [all …]
|
/ThreadX-v6.4.1/ports/arm11/iar/src/ |
D | tx_thread_system_return.s | 108 BL _tx_execution_thread_exit ; Call the thread exit function 112 LDR r0, [r3, #0] ; Pickup current thread pointer 120 STR sp, [r0, #8] ; Save thread stack pointer
|
D | tx_thread_context_restore.s | 144 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 145 LDR r0, [r1, #0] ; Pickup actual current thread pointer 193 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 194 LDR r0, [r1, #0] ; Pickup current thread pointer 195 STR sp, [r0, #8] ; Save stack pointer in thread control 225 STR r0, [r1, #0] ; Clear current thread pointer
|
/ThreadX-v6.4.1/ports/arm9/iar/src/ |
D | tx_thread_system_return.s | 108 BL _tx_execution_thread_exit ; Call the thread exit function 112 LDR r0, [r3, #0] ; Pickup current thread pointer 120 STR sp, [r0, #8] ; Save thread stack pointer
|
/ThreadX-v6.4.1/ports/rxv1/ccrx/src/ |
D | tx_thread_context_restore.src | 55 ;/* nested interrupt. If not, it returns to the interrupt thread if no */ 57 ;/* if no thread was running, the function returns to the scheduler. */ 124 ; /* Determine if a thread was interrupted and no preemption is required. */ 129 MOV.L #__tx_thread_current_ptr, R1 ; Pickup current thread ptr address 168 MOV.L R4,24[R2] ; Save thread's time slice 189 … MOV.L R0,8[R2] ; Save thread's stack pointer in thread control block 191 MOV.L R2,[R1] ; Set current thread to NULL
|
/ThreadX-v6.4.1/ports/win32/vs_2019/ |
D | readme_threadx.txt | 48 thread in ThreadX actually runs as a Win32 thread. The determination of 49 which application thread to run is made by the ThreadX scheduler, which 50 itself is a Win32 thread. The ThreadX scheduler is the highest priority 51 thread in the system. 60 environment EXCEPT in the case of thread termination. Unfortunately, the 62 must rely on the thread itself terminating. Hence, threads in the ThreadX 64 processing if they can be terminated by another ThreadX thread. 88 necessary to create a simulated interrupt thread: 97 Here is an example of how to create a simulated interrupt thread in Win32. 118 The following is a template for the simulated interrupt thread. This interrupt will occur on
|
/ThreadX-v6.4.1/ports_module/cortex_a7/iar/module_manager/src/ |
D | tx_thread_system_return.s | 88 LDR r5, [r4] ; Pickup current thread pointer 118 BL _tx_execution_thread_exit ; Call the thread exit function 121 MOV r0, r5 ; Pickup current thread pointer 127 STR sp, [r0, #8] ; Save thread stack pointer
|
/ThreadX-v6.4.1/ports_module/cortex_a7/ac5/module_manager/src/ |
D | tx_thread_context_restore.s | 148 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 149 LDR r0, [r1, #0] ; Pickup actual current thread pointer 186 STMDB sp!, {r4-r12, lr} ; Save upper half of registers on thread's stack 193 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 194 LDR r0, [r1, #0] ; Pickup current thread pointer 209 STR sp, [r0, #8] ; Save stack pointer in thread control 236 STR r0, [r1, #0] ; Clear current thread pointer
|
/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/ |
D | px_pth_setschedparam.c | 75 INT pthread_setschedparam(pthread_t thread, INT policy, const struct sched_param *param) in pthread_setschedparam() argument 85 thread_tcb=posix_tid2tcb(thread); in pthread_setschedparam()
|
/ThreadX-v6.4.1/ports/arm9/ac5/src/ |
D | tx_thread_system_return.s | 109 BL _tx_execution_thread_exit ; Call the thread exit function 113 LDR r0, [r3, #0] ; Pickup current thread pointer 121 STR sp, [r0, #8] ; Save thread stack pointer
|
/ThreadX-v6.4.1/ports/arm11/ac5/src/ |
D | tx_thread_system_return.s | 109 BL _tx_execution_thread_exit ; Call the thread exit function 113 LDR r0, [r3, #0] ; Pickup current thread pointer 121 STR sp, [r0, #8] ; Save thread stack pointer
|
/ThreadX-v6.4.1/ports/cortex_r4/ac5/src/ |
D | tx_thread_context_restore.s | 146 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 147 LDR r0, [r1, #0] ; Pickup actual current thread pointer 194 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 195 LDR r0, [r1, #0] ; Pickup current thread pointer 209 STR sp, [r0, #8] ; Save stack pointer in thread control 236 STR r0, [r1, #0] ; Clear current thread pointer
|
/ThreadX-v6.4.1/ports/cortex_a9/ac5/src/ |
D | tx_thread_context_restore.s | 146 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 147 LDR r0, [r1, #0] ; Pickup actual current thread pointer 194 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr 195 LDR r0, [r1, #0] ; Pickup current thread pointer 210 STR sp, [r0, #8] ; Save stack pointer in thread control 237 STR r0, [r1, #0] ; Clear current thread pointer
|