mt_dbg_aarch64.h 442 B

12345678910111213141516
  1. #ifndef __MT_DBG_H
  2. #define __MT_DBG_H
  3. /*
  4. #define DBG_REG_DUMP
  5. */
  6. unsigned int *mt_save_dbg_regs(unsigned int *p, unsigned int cpuid);
  7. void mt_restore_dbg_regs(unsigned int *p, unsigned int cpuid);
  8. void mt_copy_dbg_regs(int to, int from);
  9. #ifdef DBG_REG_DUMP
  10. void dump_dbgregs(int cpuid);
  11. void print_dbgregs(int cpuid);
  12. #endif
  13. extern int get_cluster_core_count(void);
  14. extern unsigned long saved_MDSCR_EL1;
  15. #endif /* !__HW_BREAKPOINT_H */