aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2015-04-09 06:28:05 -0400
committerLey Foon Tan <lftan@altera.com>2015-04-09 06:28:05 -0400
commite3e29f990cc77c5b23280c77275812a3f010cc41 (patch)
tree71ecb800e02330d1a2980eb0c29c2221ac23d70b
parent7587d12647f1d952a4fbe5fb54a52e98b5509dcc (diff)
nios2: add missing ptrace registers defines
These are all register available in nios2. Signed-off-by: Ley Foon Tan <lftan@altera.com>
-rw-r--r--arch/nios2/include/uapi/asm/ptrace.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/nios2/include/uapi/asm/ptrace.h b/arch/nios2/include/uapi/asm/ptrace.h
index 71a330597adf..eff00e67c0a2 100644
--- a/arch/nios2/include/uapi/asm/ptrace.h
+++ b/arch/nios2/include/uapi/asm/ptrace.h
@@ -60,12 +60,17 @@
60#define PTR_IPENDING 37 60#define PTR_IPENDING 37
61#define PTR_CPUID 38 61#define PTR_CPUID 38
62#define PTR_CTL6 39 62#define PTR_CTL6 39
63#define PTR_CTL7 40 63#define PTR_EXCEPTION 40
64#define PTR_PTEADDR 41 64#define PTR_PTEADDR 41
65#define PTR_TLBACC 42 65#define PTR_TLBACC 42
66#define PTR_TLBMISC 43 66#define PTR_TLBMISC 43
67#define PTR_ECCINJ 44
68#define PTR_BADADDR 45
69#define PTR_CONFIG 46
70#define PTR_MPUBASE 47
71#define PTR_MPUACC 48
67 72
68#define NUM_PTRACE_REG (PTR_TLBMISC + 1) 73#define NUM_PTRACE_REG (PTR_MPUACC + 1)
69 74
70/* User structures for general purpose registers. */ 75/* User structures for general purpose registers. */
71struct user_pt_regs { 76struct user_pt_regs {