Home
last modified time | relevance | path

Searched refs:thread (Results 76 – 100 of 630) sorted by relevance

12345678910>>...26

/ThreadX-v6.4.1/ports/rxv1/ccrx/src/
Dtx_thread_context_save.src49 ;/* This function saves the context of an executing thread in the */
123 ; /* Otherwise, not nested, check to see if a thread was running. */
130 MOV.L #__tx_thread_current_ptr, R2 ; Pickup current thread pointer
140 MOV.L R2, [-R1] ; Save PSW on thread stack
142 MOV.L R2, [-R1] ; Save PC on thread stack
144 MOV.L R2, [-R1] ; Save R2 on thread stack
146 MOV.L R2, [-R1] ; Save R1 on thread stack
147 MOV.L R5, [-R1] ; Save R5 on thread stack
148 MOV.L R4, [-R1] ; Save R4 on thread stack
149 MOV.L R3, [-R1] ; Save R3 on thread stack
[all …]
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/gnu/src/
Dtx_thread_smp_current_thread_get.S70 la $12, _tx_thread_current_ptr # Pickup the current thread pointer
72 … addu $12, $12, $25 # Build address of current thread pointer for this VPE
73 lw $2, ($12) # Pickup current thread pointer
Dtx_thread_context_restore.S180 lw $8, ($9) # Pickup current thread pointer
183 la $11, _tx_thread_execute_ptr # Pickup address of execute thread pointer
184 addu $11, $11, $24 # Add VPE index here to see if this is the thread
185 lw $10, ($11) # Pickup thread execute pointer
186 …hread_no_preempt_restore # If the current and execute are the same then, restore the current thread
190 bne $11, $25,_tx_thread_preempt_restore # If this is a different VPE, preempt current thread
194 beq $12, $0, _tx_thread_preempt_restore # If not set, preempt interrupted thread
204 lw $29, 8($8) # Switch back to thread's stack
291 lw $9, 8($8) # Pickup thread's stack pointer
387 sw $9, 152($8) # Make this thread ready for scheduling
/ThreadX-v6.4.1/ports_module/cortex_a7/iar/module_manager/src/
Dtx_thread_schedule.s182 ; Clear the user mode flag in the thread structure
183 LDR r1, =_tx_thread_current_ptr ; Load the current thread pointer address
184 …LDR r2, [r1] ; Load current thread location from the pointer (pointer i…
186 STR r1, [r2, #0x9C] ; Clear tx_thread_module_current_user_mode for thread
195 MOV r3, sp ; Grab thread stack pointer
198 STR r3, [r2, #0xB0] ; Save thread stack pointer
245 ; Set the user mode flag into the thread structure
246 LDR r1, =_tx_thread_current_ptr ; Load the current thread pointer address
247 …LDR r2, [r1] ; Load the current thread location from the pointer (point…
249 STR r1, [r2, #0x9C] ; Set tx_thread_module_current_user_mode for thread
[all …]
/ThreadX-v6.4.1/ports/arc_hs/metaware/src/
Dtx_thread_schedule.s103 ld r0, [gp, _tx_thread_execute_ptr@sda] ; Pickup next thread to execute
118 st r0, [gp, _tx_thread_current_ptr@sda] ; Setup current thread pointer
124 ld r4, [r0, 24] ; Pickup time-slice for this thread
137 bl.d _tx_execution_thread_enter ; Call the thread execution enter function
145 ld sp, [r0, 8] ; Switch to thread's stack
/ThreadX-v6.4.1/ports/cortex_r4/ghs/src/
Dtx_thread_system_return.arm52 /* control from a thread back to the ThreadX system. Only a */
105 /* Call the thread exit function to indicate the thread is no longer executing. */
107 BL _tx_execution_thread_exit # Call the thread exit function
111 LDR r0, [r3] # Pickup current thread pointer
119 STR sp, [r0, 8] # Save thread stack pointer
129 /* Save time-slice for the thread and clear the current time-slice. */
139 /* Clear the current thread pointer. */
142 STR r4, [r3] # Clear current thread pointer
Dtx_thread_context_restore.arm56 /* nested interrupt. If not, it returns to the interrupt thread if no */
58 /* if no thread was running, the function returns to the scheduler. */
133 /* Determine if a thread was interrupted and no preemption is required. */
138 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
139 LDR r0, [r1] # Pickup actual current thread pointer
146 BNE __tx_thread_no_preempt_restore # Yes, don't preempt this thread
147 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
148 LDR r2, [r3] # Pickup actual execute thread pointer
149 CMP r0, r2 # Is the same thread highest priority?
155 /* Restore interrupted thread or ISR. */
[all …]
Dtx_thread_fiq_context_restore.arm57 /* nested interrupt. If not, it returns to the interrupt thread if no */
59 /* if no thread was running, the function returns to the scheduler. */
130 /* Determine if a thread was interrupted and no preemption is required. */
143 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
144 LDR r0, [r1] # Pickup actual current thread pointer
151 BNE __tx_thread_fiq_no_preempt_restore # Yes, don't preempt this thread
152 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
153 LDR r2, [r3] # Pickup actual execute thread pointer
154 CMP r0, r2 # Is the same thread highest priority?
160 /* Restore interrupted thread or ISR. */
[all …]
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/green/src/
Dtx_thread_context_restore.mip43 /* nested interrupt. If not, it returns to the interrupt thread if no */
45 /* if no thread was running, the function returns to the scheduler. */
100 /* Check if FPU is enabled for this thread. Note that threads with FPU enabled will only be
177 /* Determine if a thread was interrupted and no preemption is required. */
184 lw $8, ($9) # Pickup current thread pointer
187 la $11, _tx_thread_execute_ptr # Pickup address of execute thread pointer
188 addu $11, $11, $24 # Add VPE index here to see if this is the thread
189 lw $10, ($11) # Pickup thread execute pointer
190 …hread_no_preempt_restore # If the current and execute are the same then, restore the current thread
194 bne $11, $25,_tx_thread_preempt_restore # If this is a different VPE, preempt current thread
[all …]
/ThreadX-v6.4.1/ports/rxv3/iar/src/
Dtx_thread_schedule.s100 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
104 MOV.L [R1],R2 ; Pickup next thread to execute
106 BNE __tx_thread_thread_ready ; Not NULL, schedule the thread
107 ; Idle system - no thread is ready
127 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
143 MOV.L R2,[R3] ; Setup current thread pointer
155 MOV.L 24[R2],R3 ; Pickup thread time-slice
211 ; Enable saving of DFPU registers for the current thread.
221 MOV.L [R4], R1 ; Fetch current thread pointer
233 ; Disable saving of DFPU registers for the current thread.
[all …]
/ThreadX-v6.4.1/ports/rxv3/gnu/src/
Dtx_thread_schedule.S102 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
106 MOV.L [R1],R2 ; Pickup next thread to execute
108 BNE __tx_thread_thread_ready ; Not NULL, schedule the thread
109 ; Idle system - no thread is ready
129 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
145 MOV.L R2,[R3] ; Setup current thread pointer
157 MOV.L 24[R2],R3 ; Pickup thread time-slice
215 ; Enable saving of DFPU registers for the current thread.
225 MOV.L [R4], R1 ; Fetch current thread pointer
237 ; Disable saving of DFPU registers for the current thread.
[all …]
/ThreadX-v6.4.1/ports/cortex_a8/ghs/src/
Dtx_thread_context_restore.arm56 /* nested interrupt. If not, it returns to the interrupt thread if no */
58 /* if no thread was running, the function returns to the scheduler. */
133 /* Determine if a thread was interrupted and no preemption is required. */
138 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
139 LDR r0, [r1] # Pickup actual current thread pointer
146 BNE __tx_thread_no_preempt_restore # Yes, don't preempt this thread
147 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
148 LDR r2, [r3] # Pickup actual execute thread pointer
149 CMP r0, r2 # Is the same thread highest priority?
155 /* Restore interrupted thread or ISR. */
[all …]
Dtx_thread_system_return.arm52 /* control from a thread back to the ThreadX system. Only a */
91 LDR r5, [r4] # Pickup current thread pointer
123 /* Call the thread exit function to indicate the thread is no longer executing. */
125 BL _tx_execution_thread_exit # Call the thread exit function
129 MOV r0, r5 # Pickup current thread pointer
137 STR sp, [r0, 8] # Save thread stack pointer
147 /* Save time-slice for the thread and clear the current time-slice. */
157 /* Clear the current thread pointer. */
160 STR r4, [r3] # Clear current thread pointer
/ThreadX-v6.4.1/ports/cortex_a9/ghs/src/
Dtx_thread_context_restore.arm56 /* nested interrupt. If not, it returns to the interrupt thread if no */
58 /* if no thread was running, the function returns to the scheduler. */
133 /* Determine if a thread was interrupted and no preemption is required. */
138 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
139 LDR r0, [r1] # Pickup actual current thread pointer
146 BNE __tx_thread_no_preempt_restore # Yes, don't preempt this thread
147 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
148 LDR r2, [r3] # Pickup actual execute thread pointer
149 CMP r0, r2 # Is the same thread highest priority?
155 /* Restore interrupted thread or ISR. */
[all …]
Dtx_thread_system_return.arm52 /* control from a thread back to the ThreadX system. Only a */
91 LDR r5, [r4] # Pickup current thread pointer
123 /* Call the thread exit function to indicate the thread is no longer executing. */
125 BL _tx_execution_thread_exit # Call the thread exit function
129 MOV r0, r5 # Pickup current thread pointer
137 STR sp, [r0, 8] # Save thread stack pointer
147 /* Save time-slice for the thread and clear the current time-slice. */
157 /* Clear the current thread pointer. */
160 STR r4, [r3] # Clear current thread pointer
/ThreadX-v6.4.1/ports/cortex_a7/ghs/src/
Dtx_thread_context_restore.arm56 /* nested interrupt. If not, it returns to the interrupt thread if no */
58 /* if no thread was running, the function returns to the scheduler. */
133 /* Determine if a thread was interrupted and no preemption is required. */
138 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
139 LDR r0, [r1] # Pickup actual current thread pointer
146 BNE __tx_thread_no_preempt_restore # Yes, don't preempt this thread
147 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
148 LDR r2, [r3] # Pickup actual execute thread pointer
149 CMP r0, r2 # Is the same thread highest priority?
155 /* Restore interrupted thread or ISR. */
[all …]
Dtx_thread_system_return.arm52 /* control from a thread back to the ThreadX system. Only a */
91 LDR r5, [r4] # Pickup current thread pointer
123 /* Call the thread exit function to indicate the thread is no longer executing. */
125 BL _tx_execution_thread_exit # Call the thread exit function
129 MOV r0, r5 # Pickup current thread pointer
137 STR sp, [r0, 8] # Save thread stack pointer
147 /* Save time-slice for the thread and clear the current time-slice. */
157 /* Clear the current thread pointer. */
160 STR r4, [r3] # Clear current thread pointer
/ThreadX-v6.4.1/ports/cortex_a5/ghs/src/
Dtx_thread_context_restore.arm56 /* nested interrupt. If not, it returns to the interrupt thread if no */
58 /* if no thread was running, the function returns to the scheduler. */
133 /* Determine if a thread was interrupted and no preemption is required. */
138 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
139 LDR r0, [r1] # Pickup actual current thread pointer
146 BNE __tx_thread_no_preempt_restore # Yes, don't preempt this thread
147 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
148 LDR r2, [r3] # Pickup actual execute thread pointer
149 CMP r0, r2 # Is the same thread highest priority?
155 /* Restore interrupted thread or ISR. */
[all …]
Dtx_thread_system_return.arm52 /* control from a thread back to the ThreadX system. Only a */
91 LDR r5, [r4] # Pickup current thread pointer
123 /* Call the thread exit function to indicate the thread is no longer executing. */
125 BL _tx_execution_thread_exit # Call the thread exit function
129 MOV r0, r5 # Pickup current thread pointer
137 STR sp, [r0, 8] # Save thread stack pointer
147 /* Save time-slice for the thread and clear the current time-slice. */
157 /* Clear the current thread pointer. */
160 STR r4, [r3] # Clear current thread pointer
/ThreadX-v6.4.1/ports/cortex_r5/ghs/src/
Dtx_thread_context_restore.arm56 /* nested interrupt. If not, it returns to the interrupt thread if no */
58 /* if no thread was running, the function returns to the scheduler. */
133 /* Determine if a thread was interrupted and no preemption is required. */
138 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
139 LDR r0, [r1] # Pickup actual current thread pointer
146 BNE __tx_thread_no_preempt_restore # Yes, don't preempt this thread
147 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
148 LDR r2, [r3] # Pickup actual execute thread pointer
149 CMP r0, r2 # Is the same thread highest priority?
155 /* Restore interrupted thread or ISR. */
[all …]
Dtx_thread_system_return.arm52 /* control from a thread back to the ThreadX system. Only a */
91 LDR r5, [r4] # Pickup current thread pointer
122 /* Call the thread exit function to indicate the thread is no longer executing. */
124 BL _tx_execution_thread_exit # Call the thread exit function
128 MOV r0, r5 # Pickup current thread pointer
136 STR sp, [r0, 8] # Save thread stack pointer
146 /* Save time-slice for the thread and clear the current time-slice. */
156 /* Clear the current thread pointer. */
159 STR r4, [r3] # Clear current thread pointer
/ThreadX-v6.4.1/ports/cortex_r7/ghs/src/
Dtx_thread_context_restore.arm56 /* nested interrupt. If not, it returns to the interrupt thread if no */
58 /* if no thread was running, the function returns to the scheduler. */
133 /* Determine if a thread was interrupted and no preemption is required. */
138 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
139 LDR r0, [r1] # Pickup actual current thread pointer
146 BNE __tx_thread_no_preempt_restore # Yes, don't preempt this thread
147 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
148 LDR r2, [r3] # Pickup actual execute thread pointer
149 CMP r0, r2 # Is the same thread highest priority?
155 /* Restore interrupted thread or ISR. */
[all …]
Dtx_thread_system_return.arm52 /* control from a thread back to the ThreadX system. Only a */
91 LDR r5, [r4] # Pickup current thread pointer
122 /* Call the thread exit function to indicate the thread is no longer executing. */
124 BL _tx_execution_thread_exit # Call the thread exit function
128 MOV r0, r5 # Pickup current thread pointer
136 STR sp, [r0, 8] # Save thread stack pointer
146 /* Save time-slice for the thread and clear the current time-slice. */
156 /* Clear the current thread pointer. */
159 STR r4, [r3] # Clear current thread pointer
/ThreadX-v6.4.1/ports/rxv1/iar/src/
Dtx_thread_schedule.s93 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
97 MOV.L [R1],R2 ; Pickup next thread to execute
99 BNE __tx_thread_thread_ready ; Not NULL, schedule the thread
100 ; Idle system - no thread is ready
120 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
136 MOV.L R2,[R3] ; Setup current thread pointer
148 MOV.L 24[R2],R3 ; Pickup thread time-slice
/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/
Dpx_pth_getschedparam.c73 INT pthread_getschedparam(pthread_t thread, INT *policy, struct sched_param *param) in pthread_getschedparam() argument
79 thread_tcb=posix_tid2tcb(thread); in pthread_getschedparam()

12345678910>>...26