1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 3 #ifndef _ASM_CSKY_PERF_REGS_H 4 #define _ASM_CSKY_PERF_REGS_H 5 6 /* Index of struct pt_regs */ 7 enum perf_event_csky_regs { 8 PERF_REG_CSKY_TLS, 9 PERF_REG_CSKY_LR, 10 PERF_REG_CSKY_PC, 11 PERF_REG_CSKY_SR, 12 PERF_REG_CSKY_SP, 13 PERF_REG_CSKY_ORIG_A0, 14 PERF_REG_CSKY_A0, 15 PERF_REG_CSKY_A1, 16 PERF_REG_CSKY_A2, 17 PERF_REG_CSKY_A3, 18 PERF_REG_CSKY_REGS0, 19 PERF_REG_CSKY_REGS1, 20 PERF_REG_CSKY_REGS2, 21 PERF_REG_CSKY_REGS3, 22 PERF_REG_CSKY_REGS4, 23 PERF_REG_CSKY_REGS5, 24 PERF_REG_CSKY_REGS6, 25 PERF_REG_CSKY_REGS7, 26 PERF_REG_CSKY_REGS8, 27 PERF_REG_CSKY_REGS9, 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, 44 PERF_REG_CSKY_HI, 45 PERF_REG_CSKY_LO, 46 PERF_REG_CSKY_DCSR, 47 #endif 48 PERF_REG_CSKY_MAX, 49 }; 50 #endif /* _ASM_CSKY_PERF_REGS_H */ 51