Searched refs:rbp (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.2/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.2/kernel/src/process/ |
D | fork.c | 310 uint64_t *rbp = &new_regs->rbp; in process_rewrite_rbp() local 311 uint64_t *tmp = rbp; in process_rewrite_rbp() 314 if ((uint64_t)*rbp >= old_top || (uint64_t)*rbp < (old_top - STACK_SIZE)) in process_rewrite_rbp() 320 uint64_t delta = old_top - *rbp; in process_rewrite_rbp() 328 *rbp = newVal; in process_rewrite_rbp() 330 rbp = (uint64_t *)*rbp; in process_rewrite_rbp() 377 thd->rbp = in process_copy_thread() 380 thd->rbp = (uint64_t)pcb + STACK_SIZE; in process_copy_thread()
|
D | ptrace.h | 24 unsigned long rbp; member
|
D | proc.S | 24 popq %rbp
|
D | proc-types.h | 46 ul rbp; // in tss rsp0 member
|
D | process.c | 65 .rbp = (ul)(initial_proc_union.stack + STACK_SIZE / sizeof(ul)), 111 initial_tss[proc_current_cpu_id].rsp0 = next->thread->rbp; in __switch_to() 320 regs->rbp = current_pcb->mm->stack_start; in process_load_elf_file() 436 regs->rsp = regs->rbp = stack_start_addr; in do_execve() 613 initial_tss[proc_current_cpu_id].rsp0 = initial_thread.rbp; in process_init()
|
/DragonOS-0.1.2/kernel/src/exception/ |
D | entry.S | 45 popq %rbp 84 pushq %rbp 128 pushq %rbp
|
D | trap.c | 221 regs->rsp, regs->rbp, regs->rip, proc_current_cpu_id, current_pcb->pid); in do_page_fault()
|
/DragonOS-0.1.2/kernel/src/smp/ |
D | smp.c | 169 current_pcb->thread->rbp = _stack_start; in smp_ap_start()
|