summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/xmon_bpts.h
blob: 377068f52edb9a0e87b16052c574cc07d6791d56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef XMON_BPTS_H
#define XMON_BPTS_H

#define NBPTS	256
#ifndef __ASSEMBLY__
#include <asm/inst.h>
#define BPT_SIZE	(sizeof(ppc_inst_t) * 2)
#define BPT_WORDS	(BPT_SIZE / sizeof(ppc_inst_t))

extern unsigned int bpt_table[NBPTS * BPT_WORDS];
#endif /* __ASSEMBLY__ */

#endif /* XMON_BPTS_H */