Home
last modified time | relevance | path

Searched refs:new_thread (Results 1 – 2 of 2) sorted by relevance

/arch/x86/
A Dfpu.c219 void fpu_context_switch(thread_t *old_thread, thread_t *new_thread) { in fpu_context_switch() argument
223 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()
/arch/x86/include/arch/
A Dfpu.h31 void fpu_context_switch(thread_t *old_thread, thread_t *new_thread);

Completed in 2 milliseconds