Lines Matching refs:thread
57 ….mm = &initial_mm, .thread = &initial_thread, .addr_limit = 0xffffffffffffffff, .pid = 0, .priorit…
110 initial_tss[proc_current_cpu_id].rsp0 = next->thread->rbp; in __switch_to()
118 : "=a"(prev->thread->fs)); in __switch_to()
120 : "=a"(prev->thread->gs)); in __switch_to()
122 __asm__ __volatile__("movq %0, %%fs \n\t" ::"a"(next->thread->fs)); in __switch_to()
123 __asm__ __volatile__("movq %0, %%gs \n\t" ::"a"(next->thread->gs)); in __switch_to()
604 current_pcb->thread->rip = (ul)ret_from_intr; in initial_kernel_thread()
605 current_pcb->thread->rsp = (ul)current_pcb + STACK_SIZE - sizeof(struct pt_regs); in initial_kernel_thread()
606 current_pcb->thread->fs = USER_DS | 0x3; in initial_kernel_thread()
608 current_pcb->thread->gs = USER_DS | 0x3; in initial_kernel_thread()
609 process_switch_fsgs(current_pcb->thread->fs, current_pcb->thread->gs); in initial_kernel_thread()
615 regs = (struct pt_regs *)current_pcb->thread->rsp; in initial_kernel_thread()
622 "jmp do_execve \n\t" ::"D"(current_pcb->thread->rsp), in initial_kernel_thread()
623 … "m"(current_pcb->thread->rsp), "m"(current_pcb->thread->rip), "S"("/bin/shell.elf"), "c"(NULL), in initial_kernel_thread()