blob: 57e6fb03de481f1ea7b6521f238e80b8cc4a8762 [file] [log] [blame]
Jordan Niethe4eff2b4f2020-05-06 13:40:23 +10001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef XMON_BPTS_H
3#define XMON_BPTS_H
4
5#define NBPTS 256
6#ifndef __ASSEMBLY__
Jordan Niethe94afd062020-05-06 13:40:31 +10007#include <asm/inst.h>
8#define BPT_SIZE (sizeof(struct ppc_inst) * 2)
9#define BPT_WORDS (BPT_SIZE / sizeof(struct ppc_inst))
Jordan Niethe4eff2b4f2020-05-06 13:40:23 +100010
11extern unsigned int bpt_table[NBPTS * BPT_WORDS];
Jordan Niethe4eff2b4f2020-05-06 13:40:23 +100012#endif /* __ASSEMBLY__ */
13
14#endif /* XMON_BPTS_H */