1 /*
2 * Copyright (c) 2021 The strace developers.
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7
8 #ifndef STRACE_ARCH_PRSTATUS_REGSET_H
9 # define STRACE_ARCH_PRSTATUS_REGSET_H
10
11 typedef struct {
12 # ifdef LINUX_MIPSO32
13 unsigned long unused[6];
14 # endif
15 unsigned long regs[32];
16 unsigned long lo;
17 unsigned long hi;
18 unsigned long cp0_epc;
19 unsigned long cp0_badvaddr;
20 unsigned long cp0_status;
21 unsigned long cp0_cause;
22 } struct_prstatus_regset;
23
24 # define HAVE_ARCH_PRSTATUS_REGSET 1
25
26 #endif /* !STRACE_ARCH_PRSTATUS_REGSET_H */