Merge remote branch 'origin/stable' into dev-mini2440-stable
[u-boot-openmoko/mini2440.git] / include / bedbug / type.h
blob38ee9ded739e045858066a3fad9dfa28dd622490
1 #ifndef _TYPE_BEDBUG_H
2 #define _TYPE_BEDBUG_H
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 *);
12 typedef struct {
13 int hw_debug_enabled;
14 int stopped;
15 int current_bp;
16 struct pt_regs *regs;
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;
26 #endif /* _TYPE_BEDBUG_H */