| 
    OpenOCD
    
   | 
 


Go to the source code of this file.
Data Structures | |
| struct | esp_common | 
| struct | esp_dbg_stubs | 
| Debug stubs info.  More... | |
| struct | esp_dbg_stubs_desc | 
| Debug stubs descriptor.  More... | |
Macros | |
| #define | ESP_DBG_STUB_CAP_GCOV_THREAD BIT(0) | 
| #define | ESP_DBG_STUB_MAGIC_NUM_VAL 0xFEEDBEEF | 
| #define | ESP_DBG_STUBS_CODE_BUF_SIZE 32 /* TODO: move this info to esp_dbg_stubs_desc */ | 
| Size of the pre-compiled target buffer for stub trampoline.  More... | |
| #define | ESP_DBG_STUBS_STACK_MIN_SIZE 2048/* TODO: move this info to esp_dbg_stubs_desc */ | 
| Size of the pre-compiled target buffer for stack.  More... | |
Enumerations | |
| enum | esp_dbg_stub_id {  ESP_DBG_STUB_ENTRY_MAGIC_NUM , ESP_DBG_STUB_TABLE_SIZE , ESP_DBG_STUB_TABLE_START , ESP_DBG_STUB_DESC = ESP_DBG_STUB_TABLE_START , ESP_DBG_STUB_ENTRY_FIRST , ESP_DBG_STUB_ENTRY_GCOV = ESP_DBG_STUB_ENTRY_FIRST , ESP_DBG_STUB_CAPABILITIES , ESP_DBG_STUB_ENTRY_MAX }  | 
| Debug stubs table entries IDs.  More... | |
Functions | |
| int | esp_common_init (struct esp_common *esp, const struct esp_algorithm_hw *algo_hw) | 
| int | esp_dbgstubs_table_read (struct target *target, struct esp_dbg_stubs *dbg_stubs) | 
| #define ESP_DBG_STUBS_CODE_BUF_SIZE 32 /* TODO: move this info to esp_dbg_stubs_desc */ | 
| #define ESP_DBG_STUBS_STACK_MIN_SIZE 2048/* TODO: move this info to esp_dbg_stubs_desc */ | 
| enum esp_dbg_stub_id | 
| int esp_common_init | ( | struct esp_common * | esp, | 
| const struct esp_algorithm_hw * | algo_hw | ||
| ) | 
Definition at line 17 of file esp.c.
References esp_common::algo_hw, ERROR_FAIL, and ERROR_OK.
Referenced by esp_xtensa_init_arch_info().
| int esp_dbgstubs_table_read | ( | struct target * | target, | 
| struct esp_dbg_stubs * | dbg_stubs | ||
| ) | 
Definition at line 27 of file esp.c.
References esp_dbg_stubs::base, esp_dbg_stubs::entries, esp_dbg_stubs::entries_count, ERROR_OK, ESP_DBG_STUB_CAPABILITIES, ESP_DBG_STUB_DESC, ESP_DBG_STUB_ENTRY_FIRST, ESP_DBG_STUB_ENTRY_GCOV, ESP_DBG_STUB_ENTRY_MAX, ESP_DBG_STUB_MAGIC_NUM_VAL, ESP_DBG_STUB_TABLE_START, LOG_DEBUG, LOG_ERROR, LOG_TARGET_DEBUG, LOG_TARGET_ERROR, LOG_WARNING, target_buffer_get_u32(), target_name(), and target_read_buffer().
Referenced by esp_xtensa_dbgstubs_info_update().