Home
last modified time | relevance | path

Searched refs:rbp (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.7/kernel/src/debug/traceback/
Dtraceback.c37 if (verify_area(regs->rbp, 0)) in traceback()
39 …BLACK, "Kernel traceback: Fault in userland. pid=%ld, rbp=%#018lx\n", current_pcb->pid, regs->rbp); in traceback()
43 uint64_t *rbp = (uint64_t *)regs->rbp; in traceback() local
59 if((uint64_t)(rbp) >= current_pcb->thread->rbp || ((uint64_t)rbp<regs->rsp)) in traceback()
62 printk_color(ORANGE, BLACK, "rbp:%#018lx,*rbp:%#018lx\n", rbp, *rbp); in traceback()
66 ret_addr = *(rbp + 1); in traceback()
67 rbp = (uint64_t *)(*rbp); in traceback()
/DragonOS-0.1.7/user/libs/libc/src/arch/x86_64/
Dcrti.S4 push %rbp
5 movq %rsp, %rbp
11 push %rbp
12 movq %rsp, %rbp
Dcrtn.S3 popq %rbp
8 popq %rbp
/DragonOS-0.1.7/kernel/src/process/
Dfork.c285 uint64_t *rbp = &new_regs->rbp; in process_rewrite_rbp() local
286 uint64_t *tmp = rbp; in process_rewrite_rbp()
289 if ((uint64_t)*rbp >= old_top || (uint64_t)*rbp < (old_top - STACK_SIZE)) in process_rewrite_rbp()
295 uint64_t delta = old_top - *rbp; in process_rewrite_rbp()
303 *rbp = newVal; in process_rewrite_rbp()
305 rbp = (uint64_t *)*rbp; in process_rewrite_rbp()
353 thd->rbp = (uint64_t)(child_regs + 1); // 设置新的内核线程开始执行时的rbp(也就是进入ret_from_intr时的rbp) in process_copy_thread()
355 thd->rbp = (uint64_t)pcb + STACK_SIZE; in process_copy_thread()
Dptrace.h20 unsigned long rbp; member
Dproc.S24 popq %rbp
Dproc-types.h47 ul rbp; // in tss rsp0 member
Dprocess.c64 .rbp = (ul)(initial_proc_union.stack + STACK_SIZE / sizeof(ul)),
110 initial_tss[proc_current_cpu_id].rsp0 = next->thread->rbp; in __switch_to()
376 regs->rbp = current_pcb->mm->stack_start; in process_load_elf_file()
515 regs->rsp = regs->rbp = stack_start_addr; in do_execve()
716 initial_tss[proc_current_cpu_id].rsp0 = initial_thread.rbp; in process_init()
/DragonOS-0.1.7/kernel/src/exception/
Dentry.S46 popq %rbp
86 pushq %rbp
Dtrap.c222 regs->rsp, regs->rbp, regs->rip, proc_current_cpu_id, current_pcb->pid); in do_page_fault()
/DragonOS-0.1.7/kernel/src/smp/
Dsmp.c175 current_pcb->thread->rbp = cpu_core_info[current_starting_cpu].stack_start; in smp_ap_start()