Home | History | Annotate | Download | only in alpha

Lines Matching defs:regs

37  * process_read_regs(proc, regs)
39 * and copy it into the regs structure (<machine/reg.h>).
42 * process_write_regs(proc, regs)
43 * Update the current register set from the passed in regs
74 process_read_regs(struct lwp *l, struct reg *regs)
78 frametoreg(lwp_frame(l), regs);
79 regs->r_regs[R_ZERO] = lwp_frame(l)->tf_regs[FRAME_PC];
80 regs->r_regs[R_SP] = pcb->pcb_hw.apcb_usp;
85 process_write_regs(struct lwp *l, const struct reg *regs)
89 regtoframe(regs, lwp_frame(l));
90 lwp_frame(l)->tf_regs[FRAME_PC] = regs->r_regs[R_ZERO];
91 pcb->pcb_hw.apcb_usp = regs->r_regs[R_SP];
115 process_read_fpregs(struct lwp *l, struct fpreg *regs, size_t *sz)
121 memcpy(regs, &pcb->pcb_fp, sizeof(struct fpreg));
126 process_write_fpregs(struct lwp *l, const struct fpreg *regs, size_t sz)
132 memcpy(&pcb->pcb_fp, regs, sizeof(struct fpreg));