OpenOCD
batch.h File Reference
Include dependency graph for batch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  riscv_batch
 

Enumerations

enum  riscv_scan_type { RISCV_SCAN_TYPE_INVALID , RISCV_SCAN_TYPE_NOP , RISCV_SCAN_TYPE_READ , RISCV_SCAN_TYPE_WRITE }
 

Functions

size_t riscv_batch_add_dmi_read (struct riscv_batch *batch, unsigned address)
 
void riscv_batch_add_dmi_write (struct riscv_batch *batch, unsigned address, uint64_t data)
 
void riscv_batch_add_nop (struct riscv_batch *batch)
 
struct riscv_batchriscv_batch_alloc (struct target *target, size_t scans, size_t idle)
 
size_t riscv_batch_available_scans (struct riscv_batch *batch)
 
void riscv_batch_free (struct riscv_batch *batch)
 
bool riscv_batch_full (struct riscv_batch *batch)
 
uint32_t riscv_batch_get_dmi_read_data (struct riscv_batch *batch, size_t key)
 
unsigned riscv_batch_get_dmi_read_op (struct riscv_batch *batch, size_t key)
 
int riscv_batch_run (struct riscv_batch *batch)
 

Enumeration Type Documentation

◆ riscv_scan_type

Enumerator
RISCV_SCAN_TYPE_INVALID 
RISCV_SCAN_TYPE_NOP 
RISCV_SCAN_TYPE_READ 
RISCV_SCAN_TYPE_WRITE 

Definition at line 10 of file batch.h.

Function Documentation

◆ riscv_batch_add_dmi_read()

◆ riscv_batch_add_dmi_write()

◆ riscv_batch_add_nop()

◆ riscv_batch_alloc()

◆ riscv_batch_available_scans()

size_t riscv_batch_available_scans ( struct riscv_batch batch)

Definition at line 222 of file batch.c.

References riscv_batch::allocated_scans, and riscv_batch::used_scans.

Referenced by write_memory_bus_v1().

◆ riscv_batch_free()

◆ riscv_batch_full()

bool riscv_batch_full ( struct riscv_batch batch)

◆ riscv_batch_get_dmi_read_data()

uint32_t riscv_batch_get_dmi_read_data ( struct riscv_batch batch,
size_t  key 
)

◆ riscv_batch_get_dmi_read_op()

unsigned riscv_batch_get_dmi_read_op ( struct riscv_batch batch,
size_t  key 
)

◆ riscv_batch_run()