Searched refs:child_regs (Results 1 – 1 of 1) sorted by relevance
328 struct pt_regs *child_regs = NULL; in process_copy_thread() local335 child_regs = (struct pt_regs *)(((uint64_t)pcb) + STACK_SIZE - size); in process_copy_thread()336 memcpy(child_regs, (void *)current_regs, size); in process_copy_thread()339 process_rewrite_rbp(child_regs, pcb); in process_copy_thread()343 child_regs = (struct pt_regs *)((uint64_t)pcb + STACK_SIZE - sizeof(struct pt_regs)); in process_copy_thread()344 memcpy(child_regs, current_regs, sizeof(struct pt_regs)); in process_copy_thread()346 child_regs->rsp = stack_start; in process_copy_thread()350 child_regs->rax = 0; in process_copy_thread()353 (uint64_t)(child_regs + 1); // 设置新的内核线程开始执行时的rbp(也就是进入ret_from_system_call时的rbp) in process_copy_thread()358 thd->rsp = (uint64_t)child_regs; in process_copy_thread()