3 #ifndef TARGET__RISCV__SCANS_H
4 #define TARGET__RISCV__SCANS_H
uint32_t riscv_batch_get_dmi_read_data(struct riscv_batch *batch, size_t key)
size_t riscv_batch_add_dmi_read(struct riscv_batch *batch, unsigned int address)
void riscv_batch_add_nop(struct riscv_batch *batch)
uint32_t riscv_batch_get_dmi_read_op(struct riscv_batch *batch, size_t key)
size_t riscv_batch_available_scans(struct riscv_batch *batch)
struct riscv_batch * riscv_batch_alloc(struct target *target, size_t scans, size_t idle)
int riscv_batch_run(struct riscv_batch *batch)
void riscv_batch_add_dmi_write(struct riscv_batch *batch, unsigned int address, uint64_t data)
@ RISCV_SCAN_TYPE_INVALID
void riscv_batch_free(struct riscv_batch *batch)
bool riscv_batch_full(struct riscv_batch *batch)
The JTAG interface can be implemented with a software or hardware fifo.
riscv_bscan_tunneled_scan_context_t * bscan_ctxt
enum riscv_scan_type last_scan
struct scan_field * fields
This structure defines a single scan field in the scan.