Home
last modified time | relevance | path

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

/freebsd/sys/arm/arm/
H A Dgdb_machdep.c68 case 4: return (&kdb_thrctx->pcb_regs.sf_r4); in gdb_cpu_getreg()
69 case 5: return (&kdb_thrctx->pcb_regs.sf_r5); in gdb_cpu_getreg()
70 case 6: return (&kdb_thrctx->pcb_regs.sf_r6); in gdb_cpu_getreg()
71 case 7: return (&kdb_thrctx->pcb_regs.sf_r7); in gdb_cpu_getreg()
72 case 8: return (&kdb_thrctx->pcb_regs.sf_r8); in gdb_cpu_getreg()
73 case 9: return (&kdb_thrctx->pcb_regs.sf_r9); in gdb_cpu_getreg()
74 case 10: return (&kdb_thrctx->pcb_regs.sf_r10); in gdb_cpu_getreg()
75 case 11: return (&kdb_thrctx->pcb_regs.sf_r11); in gdb_cpu_getreg()
76 case 12: return (&kdb_thrctx->pcb_regs.sf_r12); in gdb_cpu_getreg()
77 case 13: stacktest = kdb_thrctx->pcb_regs.sf_sp + 5 * 4; in gdb_cpu_getreg()
[all …]
H A Dgenassym.c66 ASSYM(PCB_R4, offsetof(struct pcb, pcb_regs.sf_r4));
67 ASSYM(PCB_R5, offsetof(struct pcb, pcb_regs.sf_r5));
68 ASSYM(PCB_R6, offsetof(struct pcb, pcb_regs.sf_r6));
69 ASSYM(PCB_R7, offsetof(struct pcb, pcb_regs.sf_r7));
70 ASSYM(PCB_R8, offsetof(struct pcb, pcb_regs.sf_r8));
71 ASSYM(PCB_R9, offsetof(struct pcb, pcb_regs.sf_r9));
72 ASSYM(PCB_R10, offsetof(struct pcb, pcb_regs.sf_r10));
73 ASSYM(PCB_R11, offsetof(struct pcb, pcb_regs.sf_r11));
74 ASSYM(PCB_R12, offsetof(struct pcb, pcb_regs.sf_r12));
75 ASSYM(PCB_SP, offsetof(struct pcb, pcb_regs.sf_sp));
[all …]
H A Dvm_machdep.c129 pcb2->pcb_regs.sf_r4 = (register_t)fork_return; in cpu_fork()
130 pcb2->pcb_regs.sf_r5 = (register_t)td2; in cpu_fork()
131 pcb2->pcb_regs.sf_lr = (register_t)fork_trampoline; in cpu_fork()
132 pcb2->pcb_regs.sf_sp = STACKALIGN(td2->td_frame); in cpu_fork()
133 pcb2->pcb_regs.sf_tpidrurw = (register_t)get_tls(); in cpu_fork()
194 td->td_pcb->pcb_regs.sf_r4 = (register_t)fork_return; in cpu_copy_thread()
195 td->td_pcb->pcb_regs.sf_r5 = (register_t)td; in cpu_copy_thread()
196 td->td_pcb->pcb_regs.sf_lr = (register_t)fork_trampoline; in cpu_copy_thread()
197 td->td_pcb->pcb_regs.sf_sp = STACKALIGN(td->td_frame); in cpu_copy_thread()
234 td->td_pcb->pcb_regs.sf_tpidrurw = (register_t)tls_base; in cpu_set_user_tls()
[all …]
H A Dmachdep.c209 pcb->pcb_regs.sf_sp = (u_int)thread0.td_kstack + in cpu_startup()
350 pcb->pcb_regs.sf_r4 = tf->tf_r4; in makectx()
351 pcb->pcb_regs.sf_r5 = tf->tf_r5; in makectx()
352 pcb->pcb_regs.sf_r6 = tf->tf_r6; in makectx()
353 pcb->pcb_regs.sf_r7 = tf->tf_r7; in makectx()
354 pcb->pcb_regs.sf_r8 = tf->tf_r8; in makectx()
355 pcb->pcb_regs.sf_r9 = tf->tf_r9; in makectx()
356 pcb->pcb_regs.sf_r10 = tf->tf_r10; in makectx()
357 pcb->pcb_regs.sf_r11 = tf->tf_r11; in makectx()
358 pcb->pcb_regs.sf_r12 = tf->tf_r12; in makectx()
[all …]
H A Dptrace_machdep.c73 KASSERT(*sizep == sizeof(td->td_pcb->pcb_regs.sf_tpidrurw), in get_arm_tls()
75 memcpy(buf, &td->td_pcb->pcb_regs.sf_tpidrurw, in get_arm_tls()
76 sizeof(td->td_pcb->pcb_regs.sf_tpidrurw)); in get_arm_tls()
78 *sizep = sizeof(td->td_pcb->pcb_regs.sf_tpidrurw); in get_arm_tls()
H A Ddb_trace.c144 state.registers[FP] = ctx->pcb_regs.sf_r11; in db_trace_thread()
145 state.registers[SP] = ctx->pcb_regs.sf_sp; in db_trace_thread()
146 state.registers[LR] = ctx->pcb_regs.sf_lr; in db_trace_thread()
147 state.registers[PC] = ctx->pcb_regs.sf_pc; in db_trace_thread()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_pcb.c172 if (pcb->pcb_regs != NULL) in dt_pcb_pop()
173 dt_regset_destroy(pcb->pcb_regs); in dt_pcb_pop()
H A Ddt_pcb.h68 dt_regset_t *pcb_regs; /* register set for code generation */ member
H A Ddt_cg.c2077 if (pcb->pcb_regs == NULL && (pcb->pcb_regs = in dt_cg()
2081 dt_regset_reset(pcb->pcb_regs); in dt_cg()
2082 (void) dt_regset_alloc(pcb->pcb_regs); /* allocate %r0 */ in dt_cg()
2116 dxp->dx_ident->di_id = dt_regset_alloc(pcb->pcb_regs); in dt_cg()
2119 dt_cg_node(dnp, &pcb->pcb_ir, pcb->pcb_regs); in dt_cg()
2123 &pcb->pcb_ir, pcb->pcb_regs); in dt_cg()
2124 dt_regset_free(pcb->pcb_regs, dnp->dn_reg); in dt_cg()
2129 dt_regset_free(pcb->pcb_regs, dnp->dn_reg); in dt_cg()
2133 dt_regset_free(pcb->pcb_regs, dxp->dx_ident->di_id); in dt_cg()
2138 dt_regset_free(pcb->pcb_regs, 0); in dt_cg()
[all …]
/freebsd/sys/arm/include/
H A Dpcb.h49 struct switchframe pcb_regs; /* CPU state */ member
H A Ddb_machdep.h41 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_regs.sf_pc)