9 #ifndef OPENOCD_TARGET_ESIRISC_H
10 #define OPENOCD_TARGET_ESIRISC_H
21 #define MAX_BREAKPOINTS 8
22 #define MAX_WATCHPOINTS 8
25 #define EID_RESET 0x00
26 #define EID_HARDWARE_FAILURE 0x01
28 #define EID_INST_BREAKPOINT 0x03
29 #define EID_DATA_BREAKPOINT 0x04
30 #define EID_UNSUPPORTED 0x05
31 #define EID_PRIVILEGE_VIOLATION 0x06
32 #define EID_INST_BUS_ERROR 0x07
33 #define EID_DATA_BUS_ERROR 0x08
34 #define EID_ALIGNMENT_ERROR 0x09
35 #define EID_ARITHMETIC_ERROR 0x0a
36 #define EID_SYSTEM_CALL 0x0b
37 #define EID_MEMORY_MANAGEMENT 0x0c
38 #define EID_UNRECOVERABLE 0x0d
39 #define EID_INTERRUPT_N 0x20
42 #define ENTRY_RESET 0x00
43 #define ENTRY_UNRECOVERABLE 0x01
44 #define ENTRY_HARDWARE_FAILURE 0x02
45 #define ENTRY_RUNTIME 0x03
46 #define ENTRY_MEMORY 0x04
47 #define ENTRY_SYSCALL 0x05
48 #define ENTRY_DEBUG 0x06
49 #define ENTRY_NMI 0x07
50 #define ENTRY_INTERRUPT_N 0x08
static struct esirisc_common * target_to_esirisc(const struct target *target)
static char * esirisc_cache_arch_name(struct esirisc_common *esirisc)
@ ESIRISC_CACHE_VON_NEUMANN
static bool esirisc_has_cache(struct esirisc_common *esirisc)
struct watchpoint * watchpoints_p[MAX_WATCHPOINTS]
struct breakpoint * breakpoints_p[MAX_BREAKPOINTS]
struct reg_cache * reg_cache
struct esirisc_jtag jtag_info
enum esirisc_cache cache_arch
struct esirisc_trace trace_info
int(* write)(struct reg *reg)
int(* read)(struct reg *reg)
struct esirisc_common * esirisc