1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (C) 2006 Atmark Techno, Inc.
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
10 #ifndef _UAPI_ASM_MICROBLAZE_PTRACE_H
11 #define _UAPI_ASM_MICROBLAZE_PTRACE_H
15 typedef unsigned long microblaze_reg_t
;
60 /* pt_regs offsets used by gdbserver etc in ptrace syscalls */
61 #define PT_GPR(n) ((n) * sizeof(microblaze_reg_t))
62 #define PT_PC (32 * sizeof(microblaze_reg_t))
63 #define PT_MSR (33 * sizeof(microblaze_reg_t))
64 #define PT_EAR (34 * sizeof(microblaze_reg_t))
65 #define PT_ESR (35 * sizeof(microblaze_reg_t))
66 #define PT_FSR (36 * sizeof(microblaze_reg_t))
67 #define PT_KERNEL_MODE (37 * sizeof(microblaze_reg_t))
71 #endif /* __ASSEMBLY__ */
73 #endif /* _UAPI_ASM_MICROBLAZE_PTRACE_H */