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 387 of file riot.c.
References arm::arch, armv7m_common::arm, ARM_ARCH_V6M, rtos::current_thread, ERROR_FAIL, ERROR_OK, is_armv7m(), LOG_ERROR, 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(), target_type_name(), and rtos::thread_details.
|
static |
Definition at line 377 of file riot.c.
References symbol_table_elem::address, RIOT_THREADS_BASE, target::rtos, and rtos::symbols.
|
static |
Definition at line 360 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 315 of file riot.c.
References symbol_table_elem::address, ERROR_FAIL, ERROR_OK, LOG_ERROR, name, riot_symbol_list, RIOT_THREADS_BASE, rtos_generic_stack_read(), rtos::rtos_specific_params, stacking_info, rtos::symbols, rtos::target, target_read_u32(), and riot_params::thread_sp_offset.
|
static |
Definition at line 106 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, 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, riot_params::thread_status_offset, and thread_detail::threadid.
|
static |
Definition at line 26 of file riot.c.
Referenced by riot_create().
const struct rtos_type riot_rtos |
|
static |
Definition at line 72 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 26 of file riot.c.
Referenced by riot_update_threads().
|
static |
Definition at line 72 of file riot.c.
Referenced by ecos_get_thread_reg_list(), riot_create(), riot_get_thread_reg_list(), and threadx_get_thread_reg_list().