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
18 * Register numbers used by 'ptrace' system call interface.
54 /* Control registers */
57 #define PTR_ESTATUS 34
58 #define PTR_BSTATUS 35
59 #define PTR_IENABLE 36
60 #define PTR_IPENDING 37
63 #define PTR_EXCEPTION 40
64 #define PTR_PTEADDR 41
66 #define PTR_TLBMISC 43
68 #define PTR_BADADDR 45
70 #define PTR_MPUBASE 47
73 #define NUM_PTRACE_REG (PTR_MPUACC + 1)
75 /* User structures for general purpose registers. */
80 #endif /* __ASSEMBLY__ */
81 #endif /* _UAPI_ASM_NIOS2_PTRACE_H */