1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 #ifndef _ASM_CSKY_PERF_REGS_H
4 #define _ASM_CSKY_PERF_REGS_H
6 /* Index of struct pt_regs */
7 enum perf_event_csky_regs
{
13 PERF_REG_CSKY_ORIG_A0
,
28 #if defined(__CSKYABIV2__)
29 PERF_REG_CSKY_EXREGS0
,
30 PERF_REG_CSKY_EXREGS1
,
31 PERF_REG_CSKY_EXREGS2
,
32 PERF_REG_CSKY_EXREGS3
,
33 PERF_REG_CSKY_EXREGS4
,
34 PERF_REG_CSKY_EXREGS5
,
35 PERF_REG_CSKY_EXREGS6
,
36 PERF_REG_CSKY_EXREGS7
,
37 PERF_REG_CSKY_EXREGS8
,
38 PERF_REG_CSKY_EXREGS9
,
39 PERF_REG_CSKY_EXREGS10
,
40 PERF_REG_CSKY_EXREGS11
,
41 PERF_REG_CSKY_EXREGS12
,
42 PERF_REG_CSKY_EXREGS13
,
43 PERF_REG_CSKY_EXREGS14
,
50 #endif /* _ASM_CSKY_PERF_REGS_H */