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