Commit | Line | Data |
---|---|---|
4eff2b4f JN |
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__ | |
94afd069 | 7 | #include <asm/inst.h> |
c545b9f0 CL |
8 | #define BPT_SIZE (sizeof(ppc_inst_t) * 2) |
9 | #define BPT_WORDS (BPT_SIZE / sizeof(ppc_inst_t)) | |
4eff2b4f JN |
10 | |
11 | extern unsigned int bpt_table[NBPTS * BPT_WORDS]; | |
4eff2b4f JN |
12 | #endif /* __ASSEMBLY__ */ |
13 | ||
14 | #endif /* XMON_BPTS_H */ |