Lines Matching +full:- +full:lp
20 * 02110-1301 USA
43 arm_get_register(struct process *proc, enum arm_register reg, uint32_t *lp) in arm_get_register() argument
46 long l = ptrace(PTRACE_PEEKUSER, proc->pid, (void *)(reg * 4L), 0); in arm_get_register()
47 if (l == -1 && errno != 0) in arm_get_register()
48 return -1; in arm_get_register()
49 *lp = (uint32_t)l; in arm_get_register()
54 arm_set_register(struct process *proc, enum arm_register reg, uint32_t lp) in arm_set_register() argument
56 return ptrace(PTRACE_PEEKUSER, proc->pid, in arm_set_register()
57 (void *)(reg * 4L), (void *)lp); in arm_set_register()
62 uint32_t *lp) in arm_get_register_offpc() argument
64 if (arm_get_register(proc, reg, lp) < 0) in arm_get_register_offpc()
65 return -1; in arm_get_register_offpc()
67 *lp += 8; in arm_get_register_offpc()
73 arch_addr_t pc_val, uint32_t *lp) in arm_get_shifted_register() argument
81 return -1; in arm_get_shifted_register()
92 return -1; in arm_get_shifted_register()
115 res = (res >> shift) | (res << (32 - shift)); in arm_get_shifted_register()
119 *lp = res & 0xffffffff; in arm_get_shifted_register()
129 return (arch_addr_t)-1; in get_register_nocheck()