OpenOCD
esp_algorithm_stub Struct Reference

Algorithm stub data. More...

Collaboration diagram for esp_algorithm_stub:

Data Fields

void * ainfo
 Algorithm's arch-specific info. More...
 
struct working_areacode
 Working area for code segment. More...
 
struct working_areadata
 Working area for data segment. More...
 
target_addr_t entry
 Entry addr. More...
 
target_addr_t log_buff_addr
 Address of the log buffer. More...
 
uint32_t log_buff_size
 Size of the log buffer. More...
 
struct working_areapadding
 Working area for padding between code and data area. More...
 
struct working_areastack
 Working area for stack. More...
 
target_addr_t stack_addr
 Address of the target buffer for stack. More...
 
struct working_areatramp
 Working area for trampoline. More...
 
target_addr_t tramp_addr
 Address of the target buffer for stub trampoline. More...
 
target_addr_t tramp_mapped_addr
 Tramp code area will be filled from dbus. More...
 

Detailed Description

Algorithm stub data.

Definition at line 139 of file esp_algorithm.h.

Field Documentation

◆ ainfo

void* esp_algorithm_stub::ainfo

Algorithm's arch-specific info.

Definition at line 165 of file esp_algorithm.h.

Referenced by esp_algorithm_run_debug_stub(), esp_algorithm_run_image(), esp_xtensa_algo_cleanup(), and esp_xtensa_algo_init().

◆ code

struct working_area* esp_algorithm_stub::code

Working area for code segment.

Definition at line 143 of file esp_algorithm.h.

Referenced by esp_algorithm_load_func_image(), and esp_algorithm_unload_func_image().

◆ data

struct working_area* esp_algorithm_stub::data

Working area for data segment.

Definition at line 145 of file esp_algorithm.h.

Referenced by esp_algorithm_load_func_image(), and esp_algorithm_unload_func_image().

◆ entry

target_addr_t esp_algorithm_stub::entry

◆ log_buff_addr

target_addr_t esp_algorithm_stub::log_buff_addr

Address of the log buffer.

Definition at line 161 of file esp_algorithm.h.

Referenced by esp_algorithm_read_stub_logs().

◆ log_buff_size

uint32_t esp_algorithm_stub::log_buff_size

Size of the log buffer.

Definition at line 163 of file esp_algorithm.h.

Referenced by esp_algorithm_read_stub_logs().

◆ padding

struct working_area* esp_algorithm_stub::padding

Working area for padding between code and data area.

Definition at line 149 of file esp_algorithm.h.

Referenced by esp_algorithm_load_func_image(), and esp_algorithm_unload_func_image().

◆ stack

struct working_area* esp_algorithm_stub::stack

Working area for stack.

Definition at line 157 of file esp_algorithm.h.

Referenced by esp_algorithm_load_func_image(), and esp_algorithm_unload_func_image().

◆ stack_addr

target_addr_t esp_algorithm_stub::stack_addr

Address of the target buffer for stack.

If zero tramp->address will be used.

Definition at line 159 of file esp_algorithm.h.

Referenced by esp_algorithm_load_func_image(), esp_algorithm_load_onboard_func(), esp_algorithm_run_debug_stub(), esp_algorithm_run_image(), and esp_xtensa_algo_regs_init_start().

◆ tramp

struct working_area* esp_algorithm_stub::tramp

Working area for trampoline.

Definition at line 147 of file esp_algorithm.h.

Referenced by esp_algorithm_load_func_image(), and esp_algorithm_unload_func_image().

◆ tramp_addr

target_addr_t esp_algorithm_stub::tramp_addr

Address of the target buffer for stub trampoline.

If zero tramp->address will be used.

Definition at line 151 of file esp_algorithm.h.

Referenced by esp_algorithm_load_func_image(), and esp_algorithm_load_onboard_func().

◆ tramp_mapped_addr

target_addr_t esp_algorithm_stub::tramp_mapped_addr

Tramp code area will be filled from dbus.

We need to map it to the ibus to be able to initialize PC register to start algorithm execution from.

Definition at line 155 of file esp_algorithm.h.

Referenced by esp_algorithm_load_func_image(), esp_algorithm_load_onboard_func(), esp_algorithm_run_debug_stub(), and esp_algorithm_run_image().


The documentation for this struct was generated from the following file: