18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci// Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd. 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#ifndef _ASM_CSKY_PERF_REGS_H 58c2ecf20Sopenharmony_ci#define _ASM_CSKY_PERF_REGS_H 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci/* Index of struct pt_regs */ 88c2ecf20Sopenharmony_cienum perf_event_csky_regs { 98c2ecf20Sopenharmony_ci PERF_REG_CSKY_TLS, 108c2ecf20Sopenharmony_ci PERF_REG_CSKY_LR, 118c2ecf20Sopenharmony_ci PERF_REG_CSKY_PC, 128c2ecf20Sopenharmony_ci PERF_REG_CSKY_SR, 138c2ecf20Sopenharmony_ci PERF_REG_CSKY_SP, 148c2ecf20Sopenharmony_ci PERF_REG_CSKY_ORIG_A0, 158c2ecf20Sopenharmony_ci PERF_REG_CSKY_A0, 168c2ecf20Sopenharmony_ci PERF_REG_CSKY_A1, 178c2ecf20Sopenharmony_ci PERF_REG_CSKY_A2, 188c2ecf20Sopenharmony_ci PERF_REG_CSKY_A3, 198c2ecf20Sopenharmony_ci PERF_REG_CSKY_REGS0, 208c2ecf20Sopenharmony_ci PERF_REG_CSKY_REGS1, 218c2ecf20Sopenharmony_ci PERF_REG_CSKY_REGS2, 228c2ecf20Sopenharmony_ci PERF_REG_CSKY_REGS3, 238c2ecf20Sopenharmony_ci PERF_REG_CSKY_REGS4, 248c2ecf20Sopenharmony_ci PERF_REG_CSKY_REGS5, 258c2ecf20Sopenharmony_ci PERF_REG_CSKY_REGS6, 268c2ecf20Sopenharmony_ci PERF_REG_CSKY_REGS7, 278c2ecf20Sopenharmony_ci PERF_REG_CSKY_REGS8, 288c2ecf20Sopenharmony_ci PERF_REG_CSKY_REGS9, 298c2ecf20Sopenharmony_ci#if defined(__CSKYABIV2__) 308c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS0, 318c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS1, 328c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS2, 338c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS3, 348c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS4, 358c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS5, 368c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS6, 378c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS7, 388c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS8, 398c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS9, 408c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS10, 418c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS11, 428c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS12, 438c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS13, 448c2ecf20Sopenharmony_ci PERF_REG_CSKY_EXREGS14, 458c2ecf20Sopenharmony_ci PERF_REG_CSKY_HI, 468c2ecf20Sopenharmony_ci PERF_REG_CSKY_LO, 478c2ecf20Sopenharmony_ci PERF_REG_CSKY_DCSR, 488c2ecf20Sopenharmony_ci#endif 498c2ecf20Sopenharmony_ci PERF_REG_CSKY_MAX, 508c2ecf20Sopenharmony_ci}; 518c2ecf20Sopenharmony_ci#endif /* _ASM_CSKY_PERF_REGS_H */ 52