Lines Matching refs:thread_ptr

98 UINT  _tx_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr,  in _tx_thread_create()  argument
120 thread_ptr -> tx_thread_stack_fill_value = ((ULONG) TX_RAND()) & 0xFFUL; in _tx_thread_create()
123 thread_ptr -> tx_thread_stack_fill_value = thread_ptr -> tx_thread_stack_fill_value | in _tx_thread_create()
124 (thread_ptr -> tx_thread_stack_fill_value << 8) | in _tx_thread_create()
125 (thread_ptr -> tx_thread_stack_fill_value << 16) | in _tx_thread_create()
126 (thread_ptr -> tx_thread_stack_fill_value << 24); in _tx_thread_create()
162 TX_MEMSET(thread_ptr, 0, sizeof(TX_THREAD)); in _tx_thread_create()
165 thread_ptr -> tx_thread_name = name_ptr; in _tx_thread_create()
166 thread_ptr -> tx_thread_entry = entry_function; in _tx_thread_create()
167 thread_ptr -> tx_thread_entry_parameter = entry_input; in _tx_thread_create()
168 thread_ptr -> tx_thread_stack_start = stack_start; in _tx_thread_create()
169 thread_ptr -> tx_thread_stack_size = stack_size; in _tx_thread_create()
170 thread_ptr -> tx_thread_priority = priority; in _tx_thread_create()
171 thread_ptr -> tx_thread_user_priority = priority; in _tx_thread_create()
172 thread_ptr -> tx_thread_time_slice = time_slice; in _tx_thread_create()
173 thread_ptr -> tx_thread_new_time_slice = time_slice; in _tx_thread_create()
174 thread_ptr -> tx_thread_inherit_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_create()
175 thread_ptr -> tx_thread_smp_core_executing = ((UINT) TX_THREAD_SMP_MAX_CORES); in _tx_thread_create()
176 thread_ptr -> tx_thread_smp_cores_excluded = ((ULONG) 0); in _tx_thread_create()
178 thread_ptr -> tx_thread_smp_cores_allowed = ((ULONG) TX_THREAD_SMP_CORE_MASK); in _tx_thread_create()
180 thread_ptr -> tx_thread_smp_cores_allowed = (((ULONG) 1) << _tx_thread_smp_max_cores) - 1; in _tx_thread_create()
186 thread_ptr -> tx_thread_smp_cores_excluded = (TX_THREAD_SMP_CORE_MASK & 0xFFFFFFFE); in _tx_thread_create()
187 thread_ptr -> tx_thread_smp_cores_allowed = 1; in _tx_thread_create()
190thread_ptr -> tx_thread_timer.tx_timer_internal_smp_cores_excluded = (TX_THREAD_SMP_CORE_MASK & 0… in _tx_thread_create()
193 thread_ptr -> tx_thread_smp_core_mapped = 0; in _tx_thread_create()
199 thread_ptr -> tx_thread_stack_end = TX_UCHAR_TO_VOID_POINTER_CONVERT(temp_ptr); in _tx_thread_create()
205 thread_ptr -> tx_thread_preempt_threshold = preempt_threshold; in _tx_thread_create()
206 thread_ptr -> tx_thread_user_preempt_threshold = preempt_threshold; in _tx_thread_create()
215 thread_ptr -> tx_thread_preempt_threshold = ((UINT) 0); in _tx_thread_create()
216 thread_ptr -> tx_thread_user_preempt_threshold = ((UINT) 0); in _tx_thread_create()
222 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
223 thread_ptr -> tx_thread_user_preempt_threshold = priority; in _tx_thread_create()
228 thread_ptr -> tx_thread_state = TX_SUSPENDED; in _tx_thread_create()
231 TX_THREAD_CREATE_TIMEOUT_SETUP(thread_ptr) in _tx_thread_create()
234 TX_THREAD_CREATE_INTERNAL_EXTENSION(thread_ptr) in _tx_thread_create()
239 _tx_thread_stack_build(thread_ptr, _tx_thread_shell_entry); in _tx_thread_create()
244 thread_ptr -> tx_thread_stack_highest_ptr = thread_ptr -> tx_thread_stack_ptr; in _tx_thread_create()
251 thread_ptr -> tx_thread_id = TX_THREAD_ID; in _tx_thread_create()
259 _tx_thread_created_ptr = thread_ptr; in _tx_thread_create()
260 thread_ptr -> tx_thread_created_next = thread_ptr; in _tx_thread_create()
261 thread_ptr -> tx_thread_created_previous = thread_ptr; in _tx_thread_create()
271 next_thread -> tx_thread_created_previous = thread_ptr; in _tx_thread_create()
272 previous_thread -> tx_thread_created_next = thread_ptr; in _tx_thread_create()
275 thread_ptr -> tx_thread_created_previous = previous_thread; in _tx_thread_create()
276 thread_ptr -> tx_thread_created_next = next_thread; in _tx_thread_create()
283 …TX_TRACE_OBJECT_REGISTER(TX_TRACE_OBJECT_TYPE_THREAD, thread_ptr, name_ptr, TX_POINTER_TO_ULONG_CO… in _tx_thread_create()
286 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_THREAD_CREATE, thread_ptr, priority, TX_POINTER_TO_ULONG_CONVERT(… in _tx_thread_create()
289 TX_EL_THREAD_REGISTER(thread_ptr) in _tx_thread_create()
308 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
311 _tx_thread_system_ni_resume(thread_ptr); in _tx_thread_create()
319 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
322 _tx_thread_system_resume(thread_ptr); in _tx_thread_create()
350 _tx_thread_smp_debug_entry_insert(12, 0, thread_ptr); in _tx_thread_create()
362 _tx_thread_smp_debug_entry_insert(13, 0, thread_ptr); in _tx_thread_create()
375 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
385 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()