Lines Matching refs:thread
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
129 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
139 ; /* Yes! We have a thread to execute. Note that interrupts are locked out at this point. */
141 ; /* Setup the current thread pointer. */
145 MOV.L R2,[R3] ; Setup current thread pointer
147 ; /* Increment the run count for this thread. */
157 MOV.L 24[R2],R3 ; Pickup thread time-slice
161 ; /* Switch to the thread's stack. */
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.
247 MOV.L [R4], R1 ; Fetch current thread pointer