2020-05-06 03:40:23 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef XMON_BPTS_H
|
|
|
|
#define XMON_BPTS_H
|
|
|
|
|
|
|
|
#define NBPTS 256
|
|
|
|
#ifndef __ASSEMBLY__
|
2020-05-06 03:40:31 +00:00
|
|
|
#include <asm/inst.h>
|
2021-11-29 17:49:38 +00:00
|
|
|
#define BPT_SIZE (sizeof(ppc_inst_t) * 2)
|
|
|
|
#define BPT_WORDS (BPT_SIZE / sizeof(ppc_inst_t))
|
2020-05-06 03:40:23 +00:00
|
|
|
|
|
|
|
extern unsigned int bpt_table[NBPTS * BPT_WORDS];
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
|
|
#endif /* XMON_BPTS_H */
|