Searched refs:rbp (Results 1 – 11 of 11) sorted by relevance
/DragonOS-0.1.7/kernel/src/debug/traceback/ |
D | traceback.c | 37 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/ |
D | crti.S | 4 push %rbp 5 movq %rsp, %rbp 11 push %rbp 12 movq %rsp, %rbp
|
D | crtn.S | 3 popq %rbp 8 popq %rbp
|
/DragonOS-0.1.7/kernel/src/process/ |
D | fork.c | 285 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()
|
D | ptrace.h | 20 unsigned long rbp; member
|
D | proc.S | 24 popq %rbp
|
D | proc-types.h | 47 ul rbp; // in tss rsp0 member
|
D | process.c | 64 .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/ |
D | entry.S | 46 popq %rbp 86 pushq %rbp
|
D | trap.c | 222 regs->rsp, regs->rbp, regs->rip, proc_current_cpu_id, current_pcb->pid); in do_page_fault()
|
/DragonOS-0.1.7/kernel/src/smp/ |
D | smp.c | 175 current_pcb->thread->rbp = cpu_core_info[current_starting_cpu].stack_start; in smp_ap_start()
|