2 * Copyright (C) 2006 Atmark Techno, Inc.
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
9 #ifndef _UAPI_ASM_MICROBLAZE_PTRACE_H
10 #define _UAPI_ASM_MICROBLAZE_PTRACE_H
14 typedef unsigned long microblaze_reg_t
;
59 /* pt_regs offsets used by gdbserver etc in ptrace syscalls */
60 #define PT_GPR(n) ((n) * sizeof(microblaze_reg_t))
61 #define PT_PC (32 * sizeof(microblaze_reg_t))
62 #define PT_MSR (33 * sizeof(microblaze_reg_t))
63 #define PT_EAR (34 * sizeof(microblaze_reg_t))
64 #define PT_ESR (35 * sizeof(microblaze_reg_t))
65 #define PT_FSR (36 * sizeof(microblaze_reg_t))
66 #define PT_KERNEL_MODE (37 * sizeof(microblaze_reg_t))
70 #endif /* __ASSEMBLY__ */
72 #endif /* _UAPI_ASM_MICROBLAZE_PTRACE_H */