Searched refs:newthread (Results 1 - 6 of 6) sorted by relevance
/fuchsia/zircon/kernel/kernel/ |
H A D | sched.cpp | 264 thread_t* newthread = list_remove_head_type(&c->run_queue[highest_queue], thread_t, queue_node); local 266 DEBUG_ASSERT(newthread); 267 DEBUG_ASSERT_MSG(newthread->cpu_affinity & cpu_num_to_mask(cpu), 268 "thread %p name %s, aff %#x cpu %u\n", newthread, newthread->name, 269 newthread->cpu_affinity, cpu); 270 DEBUG_ASSERT(newthread->curr_cpu == cpu); 276 LOCAL_KTRACE2("sched_get_top", newthread->priority_boost, newthread->base_priority); 278 return newthread; 770 final_context_switch(thread_t* oldthread, thread_t* newthread) argument 791 thread_t* newthread = sched_get_top_thread(cpu); local [all...] |
/fuchsia/zircon/kernel/include/arch/ |
H A D | thread.h | 19 void arch_context_switch(struct thread *oldthread, struct thread *newthread);
|
/fuchsia/zircon/kernel/arch/x86/ |
H A D | thread.cpp | 88 __NO_SAFESTACK __attribute__((target("fsgsbase"))) void arch_context_switch(thread_t* oldthread, thread_t* newthread) { argument 89 x86_extended_register_context_switch(oldthread, newthread); 94 x86_set_tss_sp(newthread->stack.top); 140 : [new_value] "r"(newthread->arch.gs_base)); 142 _writefsbase_u64(newthread->arch.fs_base); 145 write_msr(X86_MSR_IA32_FS_BASE, newthread->arch.fs_base); 146 write_msr(X86_MSR_IA32_KERNEL_GS_BASE, newthread->arch.gs_base); 151 x86_write_gs_offset64(ZX_TLS_UNSAFE_SP_OFFSET, newthread->arch.unsafe_sp); 154 x86_64_context_switch(&oldthread->arch.sp, newthread->arch.sp);
|
/fuchsia/zircon/kernel/arch/arm64/ |
H A D | thread.cpp | 95 thread_t* newthread) { 96 LTRACEF("old %p (%s), new %p (%s)\n", oldthread, oldthread->name, newthread, newthread->name); 102 newthread->arch.current_percpu_ptr = arm64_read_percpu_ptr(); 104 arm64_fpu_context_switch(oldthread, newthread); 105 arm64_context_switch(&oldthread->arch.sp, newthread->arch.sp); 94 arch_context_switch(thread_t* oldthread, thread_t* newthread) argument
|
H A D | fpu.cpp | 92 struct thread* newthread) { 91 arm64_fpu_context_switch(struct thread* oldthread, struct thread* newthread) argument
|
/fuchsia/zircon/kernel/arch/arm64/include/arch/ |
H A D | arm64.h | 123 void arm64_fpu_context_switch(struct thread* oldthread, struct thread* newthread);
|
Completed in 27 milliseconds