master
h 20 lines 539 Bytes
Raw
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 #ifndef MICROBLAZE_TARGET_PTRACE_H
4 #define MICROBLAZE_TARGET_PTRACE_H
5
6 /* We use microblaze_reg_t to keep things similar to the kernel sources. */
7 typedef uint32_t microblaze_reg_t;
8
9 struct target_pt_regs {
10 /* Note the kernel enumerates all 32 registers. */
11 microblaze_reg_t r[32];
12 microblaze_reg_t pc;
13 microblaze_reg_t msr;
14 microblaze_reg_t ear;
15 microblaze_reg_t esr;
16 microblaze_reg_t fsr;
17 uint32_t kernel_mode;
18 };
19
20 #endif /* MICROBLAZE_TARGET_PTRACE_H */