Lines Matching refs:reg
43 arm_get_register(struct process *proc, enum arm_register reg, uint32_t *lp)
46 long l = ptrace(PTRACE_PEEKUSER, proc->pid, (void *)(reg * 4L), 0);
54 arm_set_register(struct process *proc, enum arm_register reg, uint32_t lp)
57 (void *)(reg * 4L), (void *)lp);
61 arm_get_register_offpc(struct process *proc, enum arm_register reg,
64 if (arm_get_register(proc, reg, lp) < 0)
66 if (reg == ARM_REG_PC)
126 uint32_t reg;
127 if (arm_get_register(proc, r, ®) < 0)
131 return (arch_addr_t)(uintptr_t)reg;