Lines Matching +full:hexagon +full:- +full:linux +full:- +full:user

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Ptrace support for Hexagon
5 * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
8 #include <linux/kernel.h>
9 #include <linux/sched.h>
10 #include <linux/sched/task_stack.h>
11 #include <linux/mm.h>
12 #include <linux/smp.h>
13 #include <linux/errno.h>
14 #include <linux/ptrace.h>
15 #include <linux/regset.h>
16 #include <linux/user.h>
17 #include <linux/elf.h>
19 #include <asm/user.h>
48 membuf_write(&to, &regs->r00, 32*sizeof(unsigned long)); in genregs_get()
50 membuf_store(&to, regs->sa0); in genregs_get()
51 membuf_store(&to, regs->lc0); in genregs_get()
52 membuf_store(&to, regs->sa1); in genregs_get()
53 membuf_store(&to, regs->lc1); in genregs_get()
54 membuf_store(&to, regs->m0); in genregs_get()
55 membuf_store(&to, regs->m1); in genregs_get()
56 membuf_store(&to, regs->usr); in genregs_get()
57 membuf_store(&to, regs->preds); in genregs_get()
58 membuf_store(&to, regs->gp); in genregs_get()
59 membuf_store(&to, regs->ugp); in genregs_get()
64 membuf_store(&to, regs->cs0); in genregs_get()
65 membuf_store(&to, regs->cs1); in genregs_get()
82 return -EIO; in genregs_set()
85 &regs->r00, 0, 32*sizeof(unsigned long)); in genregs_set()
95 INEXT(&regs->sa0, sa0); in genregs_set()
96 INEXT(&regs->lc0, lc0); in genregs_set()
97 INEXT(&regs->sa1, sa1); in genregs_set()
98 INEXT(&regs->lc1, lc1); in genregs_set()
99 INEXT(&regs->m0, m0); in genregs_set()
100 INEXT(&regs->m1, m1); in genregs_set()
101 INEXT(&regs->usr, usr); in genregs_set()
102 INEXT(&regs->preds, p3_0); in genregs_set()
103 INEXT(&regs->gp, gp); in genregs_set()
104 INEXT(&regs->ugp, ugp); in genregs_set()
112 INEXT(&regs->cs0, cs0); in genregs_set()
113 INEXT(&regs->cs1, cs1); in genregs_set()
119 offsetof(struct user_regs_struct, pad1), -1); in genregs_set()
127 regs->hvmer.vmpsp = regs->r29; in genregs_set()
147 .name = "hexagon",
162 /* Boilerplate - resolves to null inline if no HW single-step */ in ptrace_disable()