OpenOCD
|
Go to the source code of this file.
Functions | |
int | arc_mem_read (struct target *target, target_addr_t address, uint32_t size, uint32_t count, uint8_t *buffer) |
int | arc_mem_write (struct target *target, target_addr_t address, uint32_t size, uint32_t count, const uint8_t *buffer) |
int arc_mem_read | ( | struct target * | target, |
target_addr_t | address, | ||
uint32_t | size, | ||
uint32_t | count, | ||
uint8_t * | buffer | ||
) |
Definition at line 237 of file arc_mem.c.
References arc_mem_read_block(), buffer, count, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, ERROR_TARGET_NOT_HALTED, ERROR_TARGET_UNALIGNED_ACCESS, LOG_DEBUG, LOG_ERROR, LOG_WARNING, size, target::state, target_buffer_set_u32_array(), TARGET_HALTED, and TARGET_PRIxADDR.
int arc_mem_write | ( | struct target * | target, |
target_addr_t | address, | ||
uint32_t | size, | ||
uint32_t | count, | ||
const uint8_t * | buffer | ||
) |
Definition at line 155 of file arc_mem.c.
References arc_mem_write_block16(), arc_mem_write_block32(), arc_mem_write_block8(), buffer, count, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, ERROR_TARGET_NOT_HALTED, ERROR_TARGET_UNALIGNED_ACCESS, LOG_DEBUG, LOG_ERROR, LOG_TARGET_ERROR, NULL, size, target::state, target_buffer_get_u16_array(), target_buffer_get_u32_array(), TARGET_HALTED, and TARGET_PRIxADDR.