Lines Matching full:thread
10 void z_thread_entry_wrapper(k_thread_entry_t thread,
19 * required if we need to taken a trap (interrupt) in the thread entry wrapper.
31 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread() argument
40 thread->callee_saved.i0 = (uint32_t) entry; in arch_new_thread()
41 thread->callee_saved.i1 = (uint32_t) p1; in arch_new_thread()
42 thread->callee_saved.i2 = (uint32_t) p2; in arch_new_thread()
43 thread->callee_saved.i3 = (uint32_t) p3; in arch_new_thread()
44 thread->callee_saved.i6 = 0; /* frame pointer */ in arch_new_thread()
45 thread->callee_saved.o6 = (uint32_t) iframe; /* stack pointer */ in arch_new_thread()
46 thread->callee_saved.o7 = (uint32_t) z_thread_entry_wrapper - 8; in arch_new_thread()
47 thread->callee_saved.psr = PSR_S | PSR_PS | PSR_ET; in arch_new_thread()
51 if (thread->base.user_options & USER_FP_MASK) { in arch_new_thread()
52 thread->callee_saved.psr |= PSR_EF; in arch_new_thread()
55 /* Any thread can use the FPU */ in arch_new_thread()
56 thread->callee_saved.psr |= PSR_EF; in arch_new_thread()
59 thread->switch_handle = thread; in arch_new_thread()
70 int arch_float_disable(struct k_thread *thread) in arch_float_disable() argument
75 int arch_float_enable(struct k_thread *thread, unsigned int options) in arch_float_enable() argument