#define OPENOCD_TARGET_ESIRISC_JTAG_H
#include <helper/types.h>
#include <jtag/jtag.h>
#define INSTR_IDCODE
#define INSTR_DEBUG
#define INSTR_BYPASS
#define INSTR_LENGTH
#define DEBUG_NOP
#define DEBUG_READ_BYTE
#define DEBUG_READ_HWORD
#define DEBUG_READ_WORD
#define DEBUG_WRITE_BYTE
#define DEBUG_WRITE_HWORD
#define DEBUG_WRITE_WORD
#define DEBUG_READ_REG
#define DEBUG_WRITE_REG
#define DEBUG_READ_CSR
#define DEBUG_WRITE_CSR
#define DEBUG_ENABLE_DEBUG
#define DEBUG_DISABLE_DEBUG
#define DEBUG_ASSERT_RESET
#define DEBUG_DEASSERT_RESET
#define DEBUG_BREAK
#define DEBUG_CONTINUE
#define DEBUG_FLUSH_CACHES
#define EID_OVERFLOW
#define EID_CANT_DEBUG
#define EID_NONE
#define STUFF_MARKER
#define PAD_BYTE
esirisc_jtag
tap
status
esirisc_jtag_is_debug_active(struct esirisc_jtag *);
esirisc_jtag_is_stopped(struct esirisc_jtag *);
esirisc_jtag_get_eid(struct esirisc_jtag *);
esirisc_jtag_read_byte(struct esirisc_jtag *, uint32_t, uint8_t *);
esirisc_jtag_read_hword(struct esirisc_jtag *, uint32_t, uint16_t *);
esirisc_jtag_read_word(struct esirisc_jtag *, uint32_t, uint32_t *);
esirisc_jtag_write_byte(struct esirisc_jtag *, uint32_t, uint8_t);
esirisc_jtag_write_hword(struct esirisc_jtag *, uint32_t, uint16_t);
esirisc_jtag_write_word(struct esirisc_jtag *, uint32_t, uint32_t);
esirisc_jtag_read_reg(struct esirisc_jtag *, uint8_t, uint32_t *);
esirisc_jtag_write_reg(struct esirisc_jtag *, uint8_t, uint32_t);
esirisc_jtag_read_csr(struct esirisc_jtag *, uint8_t, uint8_t, uint32_t *);
esirisc_jtag_write_csr(struct esirisc_jtag *, uint8_t, uint8_t, uint32_t);
esirisc_jtag_enable_debug(struct esirisc_jtag *);
esirisc_jtag_disable_debug(struct esirisc_jtag *);
esirisc_jtag_assert_reset(struct esirisc_jtag *);
esirisc_jtag_deassert_reset(struct esirisc_jtag *);
esirisc_jtag_break(struct esirisc_jtag *);
esirisc_jtag_continue(struct esirisc_jtag *);
esirisc_jtag_flush_caches(struct esirisc_jtag *);