xmon_bpts.h 336 B

1234567891011121314
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef XMON_BPTS_H
  3. #define XMON_BPTS_H
  4. #define NBPTS 256
  5. #ifndef __ASSEMBLY__
  6. #include <asm/inst.h>
  7. #define BPT_SIZE (sizeof(ppc_inst_t) * 2)
  8. #define BPT_WORDS (BPT_SIZE / sizeof(ppc_inst_t))
  9. extern unsigned int bpt_table[NBPTS * BPT_WORDS];
  10. #endif /* __ASSEMBLY__ */
  11. #endif /* XMON_BPTS_H */