mt_dbg_aarch32.h 474 B

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