8 #ifndef OPENOCD_TARGET_OPENRISC_OR1K_DU_H
9 #define OPENOCD_TARGET_OPENRISC_OR1K_DU_H
19 #define CPU_NOT_RESET 1
40 uint32_t
addr,
int count, uint32_t *value);
43 uint32_t
addr,
int count,
const uint32_t *value);
64 int *out_len,
unsigned char *out_buffer,
65 int *in_len,
unsigned char *in_buffer);
static struct or1k_du * or1k_jtag_to_du(struct or1k_jtag *jtag_info)
int or1k_du_adv_register(void)
int or1k_adv_jtag_jsp_xfer(struct or1k_jtag *jtag_info, int *out_len, unsigned char *out_buffer, int *in_len, unsigned char *in_buffer)
static struct or1k_du * or1k_to_du(struct or1k_common *or1k)
target_addr_t addr
Start address to search for the control block.
size_t size
Size of the control block search area.
int(* or1k_jtag_write_cpu)(struct or1k_jtag *jtag_info, uint32_t addr, int count, const uint32_t *value)
int(* or1k_jtag_init)(struct or1k_jtag *jtag_info)
int(* or1k_jtag_read_memory)(struct or1k_jtag *jtag_info, uint32_t addr, uint32_t size, int count, uint8_t *buffer)
int(* or1k_is_cpu_running)(struct or1k_jtag *jtag_info, int *running)
int(* or1k_jtag_write_memory)(struct or1k_jtag *jtag_info, uint32_t addr, uint32_t size, int count, const uint8_t *buffer)
int(* or1k_cpu_stall)(struct or1k_jtag *jtag_info, int action)
int(* or1k_jtag_read_cpu)(struct or1k_jtag *jtag_info, uint32_t addr, int count, uint32_t *value)
int(* or1k_cpu_reset)(struct or1k_jtag *jtag_info, int action)