xref: /openbmc/linux/arch/powerpc/xmon/xmon_bpts.h (revision 2cc39179)
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 
11 extern unsigned int bpt_table[NBPTS * BPT_WORDS];
12 #endif /* __ASSEMBLY__ */
13 
14 #endif /* XMON_BPTS_H */
15