Go to the source code of this file.
◆ nuttx_cortex_m_tcbinfo_stack_read()
static int nuttx_cortex_m_tcbinfo_stack_read |
( |
struct target * |
target, |
|
|
int64_t |
stack_ptr, |
|
|
const struct rtos_register_stacking * |
stacking, |
|
|
uint8_t * |
stack_data |
|
) |
| |
|
static |
Definition at line 53 of file rtos_nuttx_stackings.c.
References symbol_table_elem::address, BIT, ERROR_OK, LOG_ERROR, rtos_register_stacking::num_output_registers, NX_SYM_REG_OFFSETS, stack_register_offset::offset, rtos_register_stacking::register_offsets, target::rtos, sp, rtos_register_stacking::stack_growth_direction, rtos::symbols, rtos::target, target_buffer_get_u32(), target_buffer_set_u32(), target_read_buffer(), target_read_u16(), and stack_register_offset::width_bits.
◆ nuttx_esp_xtensa_stack_read()
static int nuttx_esp_xtensa_stack_read |
( |
struct target * |
target, |
|
|
int64_t |
stack_ptr, |
|
|
const struct rtos_register_stacking * |
stacking, |
|
|
uint8_t * |
stack_data |
|
) |
| |
|
static |
◆ nuttx_esp32_stacking
Initial value:= {
.stack_registers_size = 26 * 4,
.stack_growth_direction = -1,
}
static const struct stack_register_offset nuttx_stack_offsets_esp32[]
static int nuttx_esp_xtensa_stack_read(struct target *target, int64_t stack_ptr, const struct rtos_register_stacking *stacking, uint8_t *stack_data)
target_addr_t rtos_generic_stack_align8(struct target *target, const uint8_t *stack_data, const struct rtos_register_stacking *stacking, target_addr_t stack_ptr)
#define ARRAY_SIZE(x)
Compute the number of elements of a variable length array.
Definition at line 152 of file rtos_nuttx_stackings.c.
◆ nuttx_esp32s2_stacking
Initial value:= {
.stack_registers_size = 25 * 4,
.stack_growth_direction = -1,
}
static const struct stack_register_offset nuttx_stack_offsets_esp32s2[]
Definition at line 152 of file rtos_nuttx_stackings.c.
◆ nuttx_esp32s3_stacking
Initial value:= {
.stack_registers_size = 26 * 4,
.stack_growth_direction = -1,
}
static const struct stack_register_offset nuttx_stack_offsets_esp32s3[]
Definition at line 152 of file rtos_nuttx_stackings.c.
◆ nuttx_riscv_stacking
Initial value:= {
.stack_registers_size = 33 * 4,
.stack_growth_direction = -1,
.num_output_registers = 33,
}
static const struct stack_register_offset nuttx_stack_offsets_riscv[]
Definition at line 53 of file rtos_nuttx_stackings.c.
◆ nuttx_stack_offsets_cortex_m
◆ nuttx_stack_offsets_esp32
◆ nuttx_stack_offsets_esp32s2
◆ nuttx_stack_offsets_esp32s3
◆ nuttx_stack_offsets_riscv
◆ nuttx_stacking_cortex_m
Initial value:= {
.stack_growth_direction = -1,
.calculate_process_stack =
NULL,
}
static const struct stack_register_offset nuttx_stack_offsets_cortex_m[]
static int nuttx_cortex_m_tcbinfo_stack_read(struct target *target, int64_t stack_ptr, const struct rtos_register_stacking *stacking, uint8_t *stack_data)
Definition at line 53 of file rtos_nuttx_stackings.c.