Searched refs:new_thread (Results 1 – 2 of 2) sorted by relevance
219 void fpu_context_switch(thread_t *old_thread, thread_t *new_thread) { in fpu_context_switch() argument223 DEBUG_ASSERT(old_thread != new_thread); in fpu_context_switch()225 LTRACEF("cpu %u old %p new %p\n", arch_curr_cpu_num(), old_thread, new_thread); in fpu_context_switch()227 old_thread->arch.fpu_states, new_thread->arch.fpu_states); in fpu_context_switch()241 if (likely(new_thread->arch.fpu_states)) { in fpu_context_switch()245 __asm__ __volatile__("fxrstor %0" : : "m" (*new_thread->arch.fpu_states)); in fpu_context_switch()
31 void fpu_context_switch(thread_t *old_thread, thread_t *new_thread);
Completed in 2 milliseconds