29 uint32_t table_size, table_start_id, desc_entry_id, gcov_entry_id;
31 uint8_t entry_buff[
sizeof(entries)] = {0};
51 table_size = entries[1];
62 entry_buff +
sizeof(uint32_t) * 2);
67 for (
unsigned int i = 2; i < table_size; ++i)
Support functions to access arbitrary bits in a byte array.
int esp_dbgstubs_table_read(struct target *target, struct esp_dbg_stubs *dbg_stubs)
int esp_common_init(struct esp_common *esp, const struct esp_algorithm_hw *algo_hw)
esp_dbg_stub_id
Debug stubs table entries IDs.
@ ESP_DBG_STUB_TABLE_START
@ ESP_DBG_STUB_ENTRY_FIRST
@ ESP_DBG_STUB_CAPABILITIES
@ ESP_DBG_STUB_ENTRY_GCOV
#define ESP_DBG_STUB_MAGIC_NUM_VAL
#define LOG_WARNING(expr ...)
#define LOG_TARGET_ERROR(target, fmt_str,...)
#define LOG_TARGET_DEBUG(target, fmt_str,...)
#define LOG_ERROR(expr ...)
#define LOG_DEBUG(expr ...)
const struct esp_algorithm_hw * algo_hw
uint32_t entries[ESP_DBG_STUB_ENTRY_MAX]
Table contents.
uint32_t entries_count
Number of table entries.
int target_read_buffer(struct target *target, target_addr_t address, uint32_t size, uint8_t *buffer)
uint32_t target_buffer_get_u32(struct target *target, const uint8_t *buffer)
static const char * target_name(const struct target *target)
Returns the instance-specific name of the specified target.