type.h 587 B

1234567891011121314151617181920212223242526
  1. #ifndef _TYPE_BEDBUG_H
  2. #define _TYPE_BEDBUG_H
  3. /* Supporting routines */
  4. int bedbug_puts (const char *);
  5. void bedbug_init (void);
  6. void bedbug860_init (void);
  7. void do_bedbug_breakpoint (struct pt_regs *);
  8. void bedbug_main_loop (unsigned long, struct pt_regs *);
  9. typedef struct {
  10. int hw_debug_enabled;
  11. int stopped;
  12. int current_bp;
  13. struct pt_regs *regs;
  14. void (*do_break) (cmd_tbl_t *, int, int, char * const []);
  15. void (*break_isr) (struct pt_regs *);
  16. int (*find_empty) (void);
  17. int (*set) (int, unsigned long);
  18. int (*clear) (int);
  19. } CPU_DEBUG_CTX;
  20. #endif /* _TYPE_BEDBUG_H */