cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

perf_regs.h (1052B)


      1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
      2#ifndef _ASM_ARM64_PERF_REGS_H
      3#define _ASM_ARM64_PERF_REGS_H
      4
      5enum perf_event_arm_regs {
      6	PERF_REG_ARM64_X0,
      7	PERF_REG_ARM64_X1,
      8	PERF_REG_ARM64_X2,
      9	PERF_REG_ARM64_X3,
     10	PERF_REG_ARM64_X4,
     11	PERF_REG_ARM64_X5,
     12	PERF_REG_ARM64_X6,
     13	PERF_REG_ARM64_X7,
     14	PERF_REG_ARM64_X8,
     15	PERF_REG_ARM64_X9,
     16	PERF_REG_ARM64_X10,
     17	PERF_REG_ARM64_X11,
     18	PERF_REG_ARM64_X12,
     19	PERF_REG_ARM64_X13,
     20	PERF_REG_ARM64_X14,
     21	PERF_REG_ARM64_X15,
     22	PERF_REG_ARM64_X16,
     23	PERF_REG_ARM64_X17,
     24	PERF_REG_ARM64_X18,
     25	PERF_REG_ARM64_X19,
     26	PERF_REG_ARM64_X20,
     27	PERF_REG_ARM64_X21,
     28	PERF_REG_ARM64_X22,
     29	PERF_REG_ARM64_X23,
     30	PERF_REG_ARM64_X24,
     31	PERF_REG_ARM64_X25,
     32	PERF_REG_ARM64_X26,
     33	PERF_REG_ARM64_X27,
     34	PERF_REG_ARM64_X28,
     35	PERF_REG_ARM64_X29,
     36	PERF_REG_ARM64_LR,
     37	PERF_REG_ARM64_SP,
     38	PERF_REG_ARM64_PC,
     39
     40	/* Extended/pseudo registers */
     41	PERF_REG_ARM64_VG = 46, // SVE Vector Granule
     42
     43	PERF_REG_ARM64_MAX = PERF_REG_ARM64_PC + 1,
     44	PERF_REG_ARM64_EXTENDED_MAX = PERF_REG_ARM64_VG + 1
     45};
     46#endif /* _ASM_ARM64_PERF_REGS_H */