Searched refs:pcb_regs (Results 1 – 14 of 14) sorted by relevance
| /f-stack/freebsd/arm/arm/ |
| H A D | gdb_machdep.c | 71 case 4: return (&kdb_thrctx->pcb_regs.sf_r4); in gdb_cpu_getreg() 72 case 5: return (&kdb_thrctx->pcb_regs.sf_r5); in gdb_cpu_getreg() 73 case 6: return (&kdb_thrctx->pcb_regs.sf_r6); in gdb_cpu_getreg() 74 case 7: return (&kdb_thrctx->pcb_regs.sf_r7); in gdb_cpu_getreg() 75 case 8: return (&kdb_thrctx->pcb_regs.sf_r8); in gdb_cpu_getreg() 76 case 9: return (&kdb_thrctx->pcb_regs.sf_r9); in gdb_cpu_getreg() 77 case 10: return (&kdb_thrctx->pcb_regs.sf_r10); in gdb_cpu_getreg() 78 case 11: return (&kdb_thrctx->pcb_regs.sf_r11); in gdb_cpu_getreg() 87 if (kdb_thrctx->pcb_regs.sf_sp > KERNBASE) { in gdb_cpu_getreg() 89 (kdb_thrctx->pcb_regs.sf_sp + 4 * 4); in gdb_cpu_getreg() [all …]
|
| H A D | genassym.c | 68 ASSYM(PCB_R4, offsetof(struct pcb, pcb_regs.sf_r4)); 69 ASSYM(PCB_R5, offsetof(struct pcb, pcb_regs.sf_r5)); 70 ASSYM(PCB_R6, offsetof(struct pcb, pcb_regs.sf_r6)); 71 ASSYM(PCB_R7, offsetof(struct pcb, pcb_regs.sf_r7)); 72 ASSYM(PCB_R8, offsetof(struct pcb, pcb_regs.sf_r8)); 73 ASSYM(PCB_R9, offsetof(struct pcb, pcb_regs.sf_r9)); 74 ASSYM(PCB_R10, offsetof(struct pcb, pcb_regs.sf_r10)); 75 ASSYM(PCB_R11, offsetof(struct pcb, pcb_regs.sf_r11)); 77 ASSYM(PCB_SP, offsetof(struct pcb, pcb_regs.sf_sp)); 78 ASSYM(PCB_LR, offsetof(struct pcb, pcb_regs.sf_lr)); [all …]
|
| H A D | vm_machdep.c | 135 pcb2->pcb_regs.sf_r4 = (register_t)fork_return; in cpu_fork() 136 pcb2->pcb_regs.sf_r5 = (register_t)td2; in cpu_fork() 137 pcb2->pcb_regs.sf_lr = (register_t)fork_trampoline; in cpu_fork() 138 pcb2->pcb_regs.sf_sp = STACKALIGN(td2->td_frame); in cpu_fork() 139 pcb2->pcb_regs.sf_tpidrurw = (register_t)get_tls(); in cpu_fork() 211 td->td_pcb->pcb_regs.sf_r4 = (register_t)fork_return; in cpu_copy_thread() 212 td->td_pcb->pcb_regs.sf_r5 = (register_t)td; in cpu_copy_thread() 213 td->td_pcb->pcb_regs.sf_lr = (register_t)fork_trampoline; in cpu_copy_thread() 214 td->td_pcb->pcb_regs.sf_sp = STACKALIGN(td->td_frame); in cpu_copy_thread() 244 td->td_pcb->pcb_regs.sf_tpidrurw = (register_t)tls_base; in cpu_set_user_tls() [all …]
|
| H A D | stack_machdep.c | 81 state.registers[FP] = td->td_pcb->pcb_regs.sf_r11; in stack_save_td() 82 state.registers[SP] = td->td_pcb->pcb_regs.sf_sp; in stack_save_td() 83 state.registers[LR] = td->td_pcb->pcb_regs.sf_lr; in stack_save_td() 84 state.registers[PC] = td->td_pcb->pcb_regs.sf_pc; in stack_save_td()
|
| H A D | db_trace.c | 160 state.registers[FP] = ctx->pcb_regs.sf_r11; in db_trace_thread() 161 state.registers[SP] = ctx->pcb_regs.sf_sp; in db_trace_thread() 162 state.registers[LR] = ctx->pcb_regs.sf_lr; in db_trace_thread() 163 state.registers[PC] = ctx->pcb_regs.sf_pc; in db_trace_thread()
|
| H A D | machdep.c | 670 pcb->pcb_regs.sf_r4 = tf->tf_r4; in makectx() 671 pcb->pcb_regs.sf_r5 = tf->tf_r5; in makectx() 672 pcb->pcb_regs.sf_r6 = tf->tf_r6; in makectx() 673 pcb->pcb_regs.sf_r7 = tf->tf_r7; in makectx() 674 pcb->pcb_regs.sf_r8 = tf->tf_r8; in makectx() 675 pcb->pcb_regs.sf_r9 = tf->tf_r9; in makectx() 676 pcb->pcb_regs.sf_r10 = tf->tf_r10; in makectx() 677 pcb->pcb_regs.sf_r11 = tf->tf_r11; in makectx() 678 pcb->pcb_regs.sf_r12 = tf->tf_r12; in makectx() 679 pcb->pcb_regs.sf_pc = tf->tf_pc; in makectx() [all …]
|
| /f-stack/freebsd/mips/include/ |
| H A D | db_machdep.h | 61 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_regs.pc) 67 kdb_thrctx->pcb_regs.pc += BKPT_SIZE; \
|
| H A D | pcb.h | 128 struct trapframe pcb_regs; /* saved CPU and registers */ member
|
| /f-stack/freebsd/arm/include/ |
| H A D | pcb.h | 51 struct switchframe pcb_regs; /* CPU state */ member
|
| H A D | db_machdep.h | 42 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_regs.sf_pc)
|
| /f-stack/freebsd/mips/mips/ |
| H A D | genassym.c | 83 ASSYM(U_PCB_REGS, offsetof(struct pcb, pcb_regs.zero)); 86 ASSYM(U_PCB_FPREGS, offsetof(struct pcb, pcb_regs.f0));
|
| H A D | vm_machdep.c | 269 td->td_frame = &td->td_pcb->pcb_regs; in cpu_thread_alloc() 570 trapframe = &pcb->pcb_regs; in DB_SHOW_COMMAND()
|
| H A D | db_interface.c | 346 fpucsr = (curthread) ? curthread->td_pcb->pcb_regs.fsr : 0; in branch_taken()
|
| H A D | machdep.c | 301 thread0.td_frame = &thread0.td_pcb->pcb_regs; in mips_proc0_init()
|