/ThreadX-v6.4.1/ports/arm9/iar/src/ |
D | tx_thread_schedule.s | 104 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr 108 LDR r0, [r1, #0] ; Pickup next thread to execute 110 BEQ __tx_thread_schedule_loop ; If so, keep looking for a thread 123 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread 124 STR r0, [r1, #0] ; Setup current thread pointer 130 LDR r3, [r0, #24] ; Pickup time-slice for this thread 131 ADD r2, r2, #1 ; Increment thread run-counter 149 BL _tx_execution_thread_enter ; Call the thread execution enter function 158 LDMNEIA sp!, {r0-r12, lr, pc}^ ; Return to point of thread interrupt 159 LDMIA sp!, {r4-r11, lr} ; Return to thread synchronously
|
/ThreadX-v6.4.1/ports/cortex_r5/iar/src/ |
D | tx_thread_schedule.s | 97 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr 101 LDR r0, [r1, #0] ; Pickup next thread to execute 103 BEQ __tx_thread_schedule_loop ; If so, keep looking for a thread 116 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread 117 STR r0, [r1, #0] ; Setup current thread pointer 123 LDR r3, [r0, #24] ; Pickup time-slice for this thread 124 ADD r2, r2, #1 ; Increment thread run-counter 143 BL _tx_execution_thread_enter ; Call the thread execution enter function 163 LDMIA sp!, {r0-r12, lr, pc}^ ; Return to point of thread interrupt 176 LDMIA sp!, {r4-r11, lr} ; Return to thread synchronously [all …]
|
/ThreadX-v6.4.1/ports/cortex_r4/iar/src/ |
D | tx_thread_schedule.s | 97 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr 101 LDR r0, [r1, #0] ; Pickup next thread to execute 103 BEQ __tx_thread_schedule_loop ; If so, keep looking for a thread 116 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread 117 STR r0, [r1, #0] ; Setup current thread pointer 123 LDR r3, [r0, #24] ; Pickup time-slice for this thread 124 ADD r2, r2, #1 ; Increment thread run-counter 143 BL _tx_execution_thread_enter ; Call the thread execution enter function 163 LDMIA sp!, {r0-r12, lr, pc}^ ; Return to point of thread interrupt 176 LDMIA sp!, {r4-r11, lr} ; Return to thread synchronously [all …]
|
/ThreadX-v6.4.1/ports/cortex_m0/ac5/src/ |
D | tx_thread_schedule.s | 135 BL _tx_execution_thread_exit ; Call the thread exit function 140 LDR r0, =_tx_thread_current_ptr ; Build current thread pointer address 141 LDR r2, =_tx_thread_execute_ptr ; Build execute thread pointer address 143 LDR r1, [r0] ; Pickup current thread pointer 153 MRS r3, PSP ; Pickup PSP pointer (thread's stack pointer) 190 LDR r1, [r2] ; Is there another thread ready to execute? 196 …TR r1, [r0] ; Setup the current thread pointer to the new thread 202 LDR r7, [r1, #4] ; Pickup the current thread run count 204 LDR r5, [r1, #24] ; Pickup thread's current time-slice 217 BL _tx_execution_thread_enter ; Call the thread execution enter function [all …]
|
/ThreadX-v6.4.1/ports/cortex_m0/ac6/src/ |
D | tx_thread_schedule.S | 148 BL _tx_execution_thread_exit @ Call the thread exit function 153 LDR r0, =_tx_thread_current_ptr @ Build current thread pointer address 154 LDR r2, =_tx_thread_execute_ptr @ Build execute thread pointer address 156 LDR r1, [r0] @ Pickup current thread pointer 166 MRS r3, PSP @ Pickup PSP pointer (thread's stack pointer) 203 LDR r1, [r2] @ Is there another thread ready to execute? 209 …TR r1, [r0] @ Setup the current thread pointer to the new thread 215 LDR r7, [r1, #4] @ Pickup the current thread run count 217 LDR r5, [r1, #24] @ Pickup thread's current time-slice 230 BL _tx_execution_thread_enter @ Call the thread execution enter function [all …]
|
/ThreadX-v6.4.1/ports/cortex_m0/gnu/src/ |
D | tx_thread_schedule.S | 148 BL _tx_execution_thread_exit @ Call the thread exit function 153 LDR r0, =_tx_thread_current_ptr @ Build current thread pointer address 154 LDR r2, =_tx_thread_execute_ptr @ Build execute thread pointer address 156 LDR r1, [r0] @ Pickup current thread pointer 166 MRS r3, PSP @ Pickup PSP pointer (thread's stack pointer) 203 LDR r1, [r2] @ Is there another thread ready to execute? 209 …TR r1, [r0] @ Setup the current thread pointer to the new thread 215 LDR r7, [r1, #4] @ Pickup the current thread run count 217 LDR r5, [r1, #24] @ Pickup thread's current time-slice 230 BL _tx_execution_thread_enter @ Call the thread execution enter function [all …]
|
/ThreadX-v6.4.1/ports/cortex_m0/iar/src/ |
D | tx_thread_schedule.s | 132 BL _tx_execution_thread_exit ; Call the thread exit function 137 LDR r0, =_tx_thread_current_ptr ; Build current thread pointer address 138 LDR r2, =_tx_thread_execute_ptr ; Build execute thread pointer address 140 LDR r1, [r0] ; Pickup current thread pointer 150 MRS r3, PSP ; Pickup PSP pointer (thread's stack pointer) 188 LDR r1, [r2] ; Is there another thread ready to execute? 194 …TR r1, [r0] ; Setup the current thread pointer to the new thread 200 LDR r7, [r1, #4] ; Pickup the current thread run count 202 LDR r5, [r1, #24] ; Pickup thread's current time-slice 215 BL _tx_execution_thread_enter ; Call the thread execution enter function [all …]
|
/ThreadX-v6.4.1/ports/cortex_m0/keil/src/ |
D | tx_thread_schedule.s | 135 BL _tx_execution_thread_exit ; Call the thread exit function 140 LDR r0, =_tx_thread_current_ptr ; Build current thread pointer address 141 LDR r2, =_tx_thread_execute_ptr ; Build execute thread pointer address 143 LDR r1, [r0] ; Pickup current thread pointer 153 MRS r3, PSP ; Pickup PSP pointer (thread's stack pointer) 191 LDR r1, [r2] ; Is there another thread ready to execute? 197 …TR r1, [r0] ; Setup the current thread pointer to the new thread 203 LDR r7, [r1, #4] ; Pickup the current thread run count 205 LDR r5, [r1, #24] ; Pickup thread's current time-slice 218 BL _tx_execution_thread_enter ; Call the thread execution enter function [all …]
|
/ThreadX-v6.4.1/ports_smp/arc_hs_smp/metaware/src/ |
D | tx_thread_schedule.s | 130 mov r7, _tx_thread_execute_ptr ; Pickup base of the execute thread pointer 131 add r7, r7, r4 ; Build address of current thread pointer 150 ld r0, [r7] ; Pickup next thread to execute 159 …ld r5, [r0, 164] ; Pickup the ready bit for this thread to see … 161 …st 0, [r0, 164] ; Clear the ready bit now that this thread is … 177 mov r7, _tx_thread_current_ptr ; Build address of current thread pointer 179 st r0, [r7] ; Setup current thread pointer 185 ld r5, [r0, 24] ; Pickup time-slice for this thread 200 mov r13, r0 ; Save thread control block pointer 201 bl.d _tx_execution_thread_enter ; Call the thread execution enter function [all …]
|
/ThreadX-v6.4.1/ports/arm9/ac5/src/ |
D | tx_thread_schedule.s | 105 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr 109 LDR r0, [r1, #0] ; Pickup next thread to execute 111 BEQ __tx_thread_schedule_loop ; If so, keep looking for a thread 124 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread 125 STR r0, [r1, #0] ; Setup current thread pointer 131 LDR r3, [r0, #24] ; Pickup time-slice for this thread 132 ADD r2, r2, #1 ; Increment thread run-counter 150 BL _tx_execution_thread_enter ; Call the thread execution enter function 159 LDMNEIA sp!, {r0-r12, lr, pc}^ ; Return to point of thread interrupt 160 LDMIA sp!, {r4-r11, lr} ; Return to thread synchronously
|
/ThreadX-v6.4.1/ports/arm11/ac5/src/ |
D | tx_thread_schedule.s | 105 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr 109 LDR r0, [r1, #0] ; Pickup next thread to execute 111 BEQ __tx_thread_schedule_loop ; If so, keep looking for a thread 124 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread 125 STR r0, [r1, #0] ; Setup current thread pointer 131 LDR r3, [r0, #24] ; Pickup time-slice for this thread 132 ADD r2, r2, #1 ; Increment thread run-counter 150 BL _tx_execution_thread_enter ; Call the thread execution enter function 159 LDMNEIA sp!, {r0-r12, lr, pc}^ ; Return to point of thread interrupt 160 LDMIA sp!, {r4-r11, lr} ; Return to thread synchronously
|
/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/ |
D | px_cond_wait.c | 98 TX_THREAD *thread; in pthread_cond_wait() local 101 thread = tx_thread_identify(); in pthread_cond_wait() 104 tx_thread_preemption_change(thread,0,&old_threshold); in pthread_cond_wait() 113 tx_thread_preemption_change(thread, old_threshold, &dummy); in pthread_cond_wait()
|
/ThreadX-v6.4.1/ports/arm11/gnu/src/ |
D | tx_thread_schedule.S | 117 LDR r1, =_tx_thread_execute_ptr @ Address of thread execute ptr 121 LDR r0, [r1] @ Pickup next thread to execute 123 BEQ __tx_thread_schedule_loop @ If so, keep looking for a thread 136 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread 137 STR r0, [r1] @ Setup current thread pointer 143 LDR r3, [r0, #24] @ Pickup time-slice for this thread 144 ADD r2, r2, #1 @ Increment thread run-counter 162 BL _tx_execution_thread_enter @ Call the thread execution enter function 171 LDMNEIA sp!, {r0-r12, lr, pc}^ @ Return to point of thread interrupt 172 LDMIA sp!, {r4-r11, lr} @ Return to thread synchronously
|
/ThreadX-v6.4.1/ports/arm9/gnu/src/ |
D | tx_thread_schedule.S | 117 LDR r1, =_tx_thread_execute_ptr @ Address of thread execute ptr 121 LDR r0, [r1] @ Pickup next thread to execute 123 BEQ __tx_thread_schedule_loop @ If so, keep looking for a thread 136 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread 137 STR r0, [r1] @ Setup current thread pointer 143 LDR r3, [r0, #24] @ Pickup time-slice for this thread 144 ADD r2, r2, #1 @ Increment thread run-counter 162 BL _tx_execution_thread_enter @ Call the thread execution enter function 171 LDMNEIA sp!, {r0-r12, lr, pc}^ @ Return to point of thread interrupt 172 LDMIA sp!, {r4-r11, lr} @ Return to thread synchronously
|
/ThreadX-v6.4.1/ports/cortex_a15/iar/src/ |
D | tx_thread_schedule.s | 100 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr 104 LDR r0, [r1, #0] ; Pickup next thread to execute 106 BEQ __tx_thread_schedule_loop ; If so, keep looking for a thread 123 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread 124 STR r0, [r1, #0] ; Setup current thread pointer 130 LDR r3, [r0, #24] ; Pickup time-slice for this thread 131 ADD r2, r2, #1 ; Increment thread run-counter 150 BL _tx_execution_thread_enter ; Call the thread execution enter function 171 LDMIA sp!, {r0-r12, lr, pc}^ ; Return to point of thread interrupt 186 LDMIA sp!, {r4-r11, lr} ; Return to thread synchronously [all …]
|
/ThreadX-v6.4.1/ports/cortex_r5/ac5/src/ |
D | tx_thread_schedule.s | 100 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr 104 LDR r0, [r1, #0] ; Pickup next thread to execute 106 BEQ __tx_thread_schedule_loop ; If so, keep looking for a thread 123 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread 124 STR r0, [r1, #0] ; Setup current thread pointer 130 LDR r3, [r0, #24] ; Pickup time-slice for this thread 131 ADD r2, r2, #1 ; Increment thread run-counter 149 BL _tx_execution_thread_enter ; Call the thread execution enter function 168 LDMIA sp!, {r0-r12, lr, pc}^ ; Return to point of thread interrupt 181 LDMIA sp!, {r4-r11, lr} ; Return to thread synchronously [all …]
|
/ThreadX-v6.4.1/ports_smp/cortex_a9_smp/gnu/src/ |
D | tx_thread_schedule.S | 105 LDR r1, =_tx_thread_execute_ptr @ Address of thread execute ptr 121 LDR r0, [r1, #0] @ Pickup next thread to execute 123 BEQ _tx_thread_schedule @ If so, keep looking for a thread 143 LDR r3, [r0, #152] @ Pickup the thread ready bit 146 BNE _tx_thread_ready_for_execution @ Yes, schedule the thread 162 STR r3, [r0, #152] @ Store it back in the thread control block 171 LDR r2, =_tx_thread_current_ptr @ Pickup address of current thread 172 ADD r2, r2, r12 @ Build index into the current thread array 173 STR r0, [r2, #0] @ Setup current thread pointer 188 STR r1, [r2, #0] @ Clear current thread pointer [all …]
|
/ThreadX-v6.4.1/ports_smp/cortex_a7_smp/ac5/src/ |
D | tx_thread_schedule.s | 103 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr 119 LDR r0, [r1, #0] ; Pickup next thread to execute 121 BEQ _tx_thread_schedule ; If so, keep looking for a thread 141 LDR r3, [r0, #152] ; Pickup the thread ready bit 144 BNE _tx_thread_ready_for_execution ; Yes, schedule the thread 160 STR r3, [r0, #152] ; Store it back in the thread control block 169 LDR r2, =_tx_thread_current_ptr ; Pickup address of current thread 170 ADD r2, r2, r12 ; Build index into the current thread array 171 STR r0, [r2, #0] ; Setup current thread pointer 186 STR r1, [r2, #0] ; Clear current thread pointer [all …]
|
/ThreadX-v6.4.1/ports_smp/cortex_a9_smp/ac5/src/ |
D | tx_thread_schedule.s | 103 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr 119 LDR r0, [r1, #0] ; Pickup next thread to execute 121 BEQ _tx_thread_schedule ; If so, keep looking for a thread 141 LDR r3, [r0, #152] ; Pickup the thread ready bit 144 BNE _tx_thread_ready_for_execution ; Yes, schedule the thread 160 STR r3, [r0, #152] ; Store it back in the thread control block 169 LDR r2, =_tx_thread_current_ptr ; Pickup address of current thread 170 ADD r2, r2, r12 ; Build index into the current thread array 171 STR r0, [r2, #0] ; Setup current thread pointer 186 STR r1, [r2, #0] ; Clear current thread pointer [all …]
|
/ThreadX-v6.4.1/ports_smp/cortex_a5_smp/ac5/src/ |
D | tx_thread_schedule.s | 103 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr 119 LDR r0, [r1, #0] ; Pickup next thread to execute 121 BEQ _tx_thread_schedule ; If so, keep looking for a thread 142 LDR r3, [r0, #152] ; Pickup the thread ready bit 145 BNE _tx_thread_ready_for_execution ; Yes, schedule the thread 161 STR r3, [r0, #152] ; Store it back in the thread control block 170 LDR r2, =_tx_thread_current_ptr ; Pickup address of current thread 171 ADD r2, r2, r12 ; Build index into the current thread array 172 STR r0, [r2, #0] ; Setup current thread pointer 187 STR r1, [r2, #0] ; Clear current thread pointer [all …]
|
/ThreadX-v6.4.1/ports_smp/cortex_a5_smp/gnu/src/ |
D | tx_thread_schedule.S | 105 LDR r1, =_tx_thread_execute_ptr @ Address of thread execute ptr 121 LDR r0, [r1, #0] @ Pickup next thread to execute 123 BEQ _tx_thread_schedule @ If so, keep looking for a thread 144 LDR r3, [r0, #152] @ Pickup the thread ready bit 147 BNE _tx_thread_ready_for_execution @ Yes, schedule the thread 163 STR r3, [r0, #152] @ Store it back in the thread control block 172 LDR r2, =_tx_thread_current_ptr @ Pickup address of current thread 173 ADD r2, r2, r12 @ Build index into the current thread array 174 STR r0, [r2, #0] @ Setup current thread pointer 189 STR r1, [r2, #0] @ Clear current thread pointer [all …]
|
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/green/src/ |
D | tx_thread_schedule.mip | 47 /* This function waits for a thread control block pointer to appear in */ 48 /* the _tx_thread_execute_ptr variable. Once a thread pointer appears */ 49 /* in the variable, the corresponding thread is resumed. */ 66 /* _tx_thread_system_return Return to system from thread */ 67 /* _tx_thread_context_restore Restore thread's context */ 87 lw $8, ($9) # Pickup next thread to execute 88 beq $8, $0, _tx_thread_schedule_idle_system # If not-NULL, check the thread's ready bit 123 /* Wait for a thread to execute. */ 129 lw $8, ($9) # Pickup next thread to execute 130 beq $8, $0, _tx_thread_schedule_idle_system # If not-NULL, check the thread's ready bit [all …]
|
/ThreadX-v6.4.1/ports/rxv3/ccrx/src/ |
D | tx_thread_schedule.src | 56 ;/* This function waits for a thread control block pointer to appear in */ 57 ;/* the _tx_thread_execute_ptr variable. Once a thread pointer appears */ 58 ;/* in the variable, the corresponding thread is resumed. */ 75 ;/* _tx_thread_system_return Return to system from thread */ 76 ;/* _tx_thread_context_restore Restore thread's context */ 99 ; /* Wait for a thread to execute. */ 102 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 [all …]
|
/ThreadX-v6.4.1/ports_module/cortex_a7/iar/module_manager/src/ |
D | tx_thread_context_restore.s | 115 LDR r1, =_tx_thread_current_ptr ; Load address of current thread ptr 116 LDR r0, [r1] ; Load actual current thread pointer 118 …BEQ restore_and_return_from_irq ; If the current thread pointer is NULL, idle system was i… 127 LDR r3, =_tx_thread_execute_ptr ; Load address of execute thread ptr 128 LDR r2, [r3] ; Load actual execute thread pointer 129 CMP r0, r2 ; Is the next thread the same as the current thread ? 130 … BEQ restore_and_return_from_irq ; If this is the same thread, do not preempt, just return 134 STR r3, [r1] ; Clear current thread pointer 147 PUSH {r4-r7} ; Save r0-r3 on thread's stack 169 STR r1, [r0, #24] ; Save thread's time-slice
|
/ThreadX-v6.4.1/ports/rxv1/ccrx/src/ |
D | tx_thread_schedule.src | 56 ;/* This function waits for a thread control block pointer to appear in */ 57 ;/* the _tx_thread_execute_ptr variable. Once a thread pointer appears */ 58 ;/* in the variable, the corresponding thread is resumed. */ 75 ;/* _tx_thread_system_return Return to system from thread */ 76 ;/* _tx_thread_context_restore Restore thread's context */ 100 ; /* Wait for a thread to execute. */ 103 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr 107 MOV.L [R1],R2 ; Pickup next thread to execute 109 BNE __tx_thread_thread_ready ; Not NULL, schedule the thread 110 ; Idle system - no thread is ready [all …]
|