]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/bedbug/type.h
Merge tag 'xilinx-for-v2017.07' of git://www.denx.de/git/u-boot-microblaze
[people/ms/u-boot.git] / include / bedbug / type.h
CommitLineData
8bde7f77
WD
1#ifndef _TYPE_BEDBUG_H
2#define _TYPE_BEDBUG_H
3
4/* Supporting routines */
5int bedbug_puts (const char *);
6void bedbug_init (void);
7void bedbug860_init (void);
8void do_bedbug_breakpoint (struct pt_regs *);
9void bedbug_main_loop (unsigned long, struct pt_regs *);
10
11
12typedef struct {
13 int hw_debug_enabled;
14 int stopped;
15 int current_bp;
16 struct pt_regs *regs;
17
54841ab5 18 void (*do_break) (cmd_tbl_t *, int, int, char * const []);
8bde7f77
WD
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 */