1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 // Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd.
4 #ifndef _ASM_CSKY_PERF_REGS_H
5 #define _ASM_CSKY_PERF_REGS_H
7 /* Index of struct pt_regs */
8 enum perf_event_csky_regs
{
14 PERF_REG_CSKY_ORIG_A0
,
29 #if defined(__CSKYABIV2__)
30 PERF_REG_CSKY_EXREGS0
,
31 PERF_REG_CSKY_EXREGS1
,
32 PERF_REG_CSKY_EXREGS2
,
33 PERF_REG_CSKY_EXREGS3
,
34 PERF_REG_CSKY_EXREGS4
,
35 PERF_REG_CSKY_EXREGS5
,
36 PERF_REG_CSKY_EXREGS6
,
37 PERF_REG_CSKY_EXREGS7
,
38 PERF_REG_CSKY_EXREGS8
,
39 PERF_REG_CSKY_EXREGS9
,
40 PERF_REG_CSKY_EXREGS10
,
41 PERF_REG_CSKY_EXREGS11
,
42 PERF_REG_CSKY_EXREGS12
,
43 PERF_REG_CSKY_EXREGS13
,
44 PERF_REG_CSKY_EXREGS14
,
51 #endif /* _ASM_CSKY_PERF_REGS_H */