Searched refs:old_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()237 if (likely(old_thread->arch.fpu_states)) { in fpu_context_switch()238 __asm__ __volatile__("fxsave %0" : "=m" (*old_thread->arch.fpu_states)); in fpu_context_switch()
31 void fpu_context_switch(thread_t *old_thread, thread_t *new_thread);
Completed in 5 milliseconds