Jordan Niethe | 4eff2b4f | 2020-05-06 13:40:23 +1000 | [diff] [blame] | 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__ |
Jordan Niethe | 94afd06 | 2020-05-06 13:40:31 +1000 | [diff] [blame] | 7 | #include <asm/inst.h> |
| 8 | #define BPT_SIZE (sizeof(struct ppc_inst) * 2) |
| 9 | #define BPT_WORDS (BPT_SIZE / sizeof(struct ppc_inst)) |
Jordan Niethe | 4eff2b4f | 2020-05-06 13:40:23 +1000 | [diff] [blame] | 10 | |
| 11 | extern unsigned int bpt_table[NBPTS * BPT_WORDS]; |
Jordan Niethe | 4eff2b4f | 2020-05-06 13:40:23 +1000 | [diff] [blame] | 12 | #endif /* __ASSEMBLY__ */ |
| 13 | |
| 14 | #endif /* XMON_BPTS_H */ |