OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | riot_params |
struct | riot_symbol |
struct | riot_thread_state |
Macros | |
#define | RIOT_NUM_PARAMS ARRAY_SIZE(riot_params_list) |
#define | RIOT_NUM_STATES ARRAY_SIZE(riot_thread_states) |
Enumerations | |
enum | riot_symbol_values { RIOT_THREADS_BASE = 0 , RIOT_NUM_THREADS , RIOT_ACTIVE_PID , RIOT_MAX_THREADS , RIOT_NAME_OFFSET } |
Functions | |
static int | riot_create (struct target *target) |
static bool | riot_detect_rtos (struct target *target) |
static int | riot_get_symbol_list_to_lookup (struct symbol_table_elem *symbol_list[]) |
static int | riot_get_thread_reg_list (struct rtos *rtos, int64_t thread_id, struct rtos_reg **reg_list, int *num_regs) |
static int | riot_update_threads (struct rtos *rtos) |
Variables | |
static const struct riot_params | riot_params_list [] |
const struct rtos_type | riot_rtos |
static struct riot_symbol const | riot_symbol_list [] |
static const struct riot_thread_state | riot_thread_states [] |
static const struct rtos_register_stacking * | stacking_info |
#define RIOT_NUM_PARAMS ARRAY_SIZE(riot_params_list) |
#define RIOT_NUM_STATES ARRAY_SIZE(riot_thread_states) |
enum riot_symbol_values |
|
static |
Definition at line 388 of file riot.c.
References arm::arch, armv7m_common::arm, ARM_ARCH_V6M, rtos::current_thread, ERROR_FAIL, ERROR_OK, is_armv7m(), LOG_ERROR, target_type::name, NULL, RIOT_NUM_PARAMS, riot_params_list, target::rtos, rtos_riot_cortex_m0_stacking, rtos_riot_cortex_m34_stacking, rtos::rtos_specific_params, stacking_info, target_name(), target_to_armv7m(), rtos::thread_details, and target::type.
|
static |
Definition at line 378 of file riot.c.
References symbol_table_elem::address, RIOT_THREADS_BASE, target::rtos, and rtos::symbols.
|
static |
Definition at line 361 of file riot.c.
References ARRAY_SIZE, ERROR_FAIL, ERROR_OK, LOG_ERROR, riot_symbol::name, riot_symbol::optional, and riot_symbol_list.
|
static |
Definition at line 316 of file riot.c.
References symbol_table_elem::address, ERROR_FAIL, ERROR_OK, LOG_ERROR, name, param, riot_symbol_list, RIOT_THREADS_BASE, rtos_generic_stack_read(), rtos::rtos_specific_params, stacking_info, rtos::symbols, rtos::target, and target_read_u32().
|
static |
Definition at line 107 of file riot.c.
References symbol_table_elem::address, buffer, rtos::current_thread, ERROR_FAIL, ERROR_OK, thread_detail::exists, thread_detail::extra_info_str, LOG_ERROR, name, name_offset, param, RIOT_ACTIVE_PID, RIOT_MAX_THREADS, RIOT_NAME_OFFSET, RIOT_NUM_STATES, RIOT_NUM_THREADS, riot_symbol_list, riot_thread_states, RIOT_THREADS_BASE, rtos_free_threadlist(), rtos::rtos_specific_params, status, rtos::symbols, rtos::target, target_read_buffer(), target_read_u16(), target_read_u32(), target_read_u8(), rtos::thread_count, rtos::thread_details, thread_detail::thread_name_str, and thread_detail::threadid.
|
static |
Definition at line 27 of file riot.c.
Referenced by riot_create().
const struct rtos_type riot_rtos |
|
static |
Definition at line 73 of file riot.c.
Referenced by riot_get_symbol_list_to_lookup(), riot_get_thread_reg_list(), and riot_update_threads().
|
static |
Definition at line 27 of file riot.c.
Referenced by riot_update_threads().
|
static |
Definition at line 73 of file riot.c.
Referenced by riot_create(), riot_get_thread_reg_list(), and threadx_get_thread_reg_list().