1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch>
4 * Copyright (C) 2004 Microtronix Datacom Ltd
6 * based on m68k asm/processor.h
8 * This file is subject to the terms and conditions of the GNU General Public
9 * License. See the file "COPYING" in the main directory of this archive
13 #ifndef _UAPI_ASM_NIOS2_PTRACE_H
14 #define _UAPI_ASM_NIOS2_PTRACE_H
18 #include <linux/types.h>
21 * Register numbers used by 'ptrace' system call interface.
57 /* Control registers */
60 #define PTR_ESTATUS 34
61 #define PTR_BSTATUS 35
62 #define PTR_IENABLE 36
63 #define PTR_IPENDING 37
66 #define PTR_EXCEPTION 40
67 #define PTR_PTEADDR 41
69 #define PTR_TLBMISC 43
71 #define PTR_BADADDR 45
73 #define PTR_MPUBASE 47
76 #define NUM_PTRACE_REG (PTR_MPUACC + 1)
78 /* User structures for general purpose registers. */
83 #endif /* __ASSEMBLY__ */
84 #endif /* _UAPI_ASM_NIOS2_PTRACE_H */