Home | History | Annotate | Download | only in aarch64

Lines Matching refs:regs

34 aarch64_read_gregs(struct process *proc, struct user_pt_regs *regs)
36 *regs = (struct user_pt_regs) {};
38 iovec.iov_base = regs;
39 iovec.iov_len = sizeof *regs;
45 aarch64_write_gregs(struct process *proc, struct user_pt_regs *regs)
48 iovec.iov_base = regs;
49 iovec.iov_len = sizeof *regs;
55 aarch64_read_fregs(struct process *proc, struct user_fpsimd_state *regs)
57 *regs = (struct user_fpsimd_state) {};
59 iovec.iov_base = regs;
60 iovec.iov_len = sizeof *regs;
68 struct user_pt_regs regs;
69 if (aarch64_read_gregs(proc, &regs) < 0) {
82 return (arch_addr_t) (uintptr_t) regs.pc;
88 struct user_pt_regs regs;
89 if (aarch64_read_gregs(proc, &regs) < 0) {
96 regs.pc = (uint64_t) (uintptr_t) addr;
98 if (aarch64_write_gregs(proc, &regs) < 0) {
108 struct user_pt_regs regs;
109 if (aarch64_read_gregs(proc, &regs) < 0) {
116 return (arch_addr_t) (uintptr_t) regs.sp;
122 struct user_pt_regs regs;
123 if (aarch64_read_gregs(proc, &regs) < 0) {
130 return (arch_addr_t) (uintptr_t) regs.regs[30];