read_by_given_size() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

read_by_given_size() function

Read one memory item of given "size". Use memory access of given "access_size". Read larger section of memory and pick out the required portion, if needed.

Syntax

static int read_by_given_size(struct target *target,     target_addr_t address,     uint32_t size,     uint8_t *buffer,     uint32_t access_size);

Arguments

target

address

size

buffer

access_size

References

LocationReferrerText
riscv.c:778
static int read_by_given_size(struct target *target, target_addr_t address,
riscv.c:847riscv_read_by_any_size()
if (read_by_given_size(target, address, size, buffer, preferred_size) == ERROR_OK)
riscv.c:857riscv_read_by_any_size()
if (read_by_given_size(target, address, size, buffer, access_size) == ERROR_OK)

Call Tree

Functions calling read_by_given_size()
Functions called by read_by_given_size()
all items filtered out
read_by_given_size()
memcpy()
all items filtered out
Data read by read_by_given_size()
read_by_given_size()::offset_head
read_by_given_size()::n_blocks
read_by_given_size()::helper_buf
all items filtered out
read_by_given_size()
Type of read_by_given_size()
read_by_given_size()
uint8_t
all items filtered out