OpenOCD
read_by_given_size()
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
read_by_given_size()
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
from
riscv.c:778
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
Location
Referrer
Text
riscv.c:778
static
int
read_by_given_size
(
struct
target
*
target
,
target_addr_t
address
,
riscv.c:847
riscv_read_by_any_size()
if
(
read_by_given_size
(
target
,
address
,
size
,
buffer
,
preferred_size
)
==
ERROR_OK
)
riscv.c:857
riscv_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()
riscv_read_by_any_size()
all items filtered out
read_by_given_size()
memcpy()
target_read_memory()
all items filtered out
Data read by
read_by_given_size()
read_by_given_size()::target
read_by_given_size()::address
read_by_given_size()::size
read_by_given_size()::buffer
read_by_given_size()::access_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