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

xmon_bpts.h (336B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef XMON_BPTS_H
      3#define XMON_BPTS_H
      4
      5#define NBPTS	256
      6#ifndef __ASSEMBLY__
      7#include <asm/inst.h>
      8#define BPT_SIZE	(sizeof(ppc_inst_t) * 2)
      9#define BPT_WORDS	(BPT_SIZE / sizeof(ppc_inst_t))
     10
     11extern unsigned int bpt_table[NBPTS * BPT_WORDS];
     12#endif /* __ASSEMBLY__ */
     13
     14#endif /* XMON_BPTS_H */