2 * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch>
3 * Copyright (C) 2004 Microtronix Datacom Ltd
5 * based on m68k asm/processor.h
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive
12 #ifndef _UAPI_ASM_NIOS2_PTRACE_H
13 #define _UAPI_ASM_NIOS2_PTRACE_H
17 #include <linux/types.h>
20 * Register numbers used by 'ptrace' system call interface.
56 /* Control registers */
59 #define PTR_ESTATUS 34
60 #define PTR_BSTATUS 35
61 #define PTR_IENABLE 36
62 #define PTR_IPENDING 37
65 #define PTR_EXCEPTION 40
66 #define PTR_PTEADDR 41
68 #define PTR_TLBMISC 43
70 #define PTR_BADADDR 45
72 #define PTR_MPUBASE 47
75 #define NUM_PTRACE_REG (PTR_MPUACC + 1)
77 /* User structures for general purpose registers. */
82 #endif /* __ASSEMBLY__ */
83 #endif /* _UAPI_ASM_NIOS2_PTRACE_H */