OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | threadx_params |
struct | threadx_thread_state |
Macros | |
#define | ARM926EJS_REGISTERS_SIZE_INTERRUPT (17 * 4) |
#define | ARM926EJS_REGISTERS_SIZE_SOLICITED (11 * 4) |
#define | THREADX_NUM_STATES ARRAY_SIZE(threadx_thread_states) |
#define | THREADX_THREAD_NAME_STR_SIZE (200) |
Enumerations | |
enum | threadx_symbol_values { THREADX_VAL_TX_THREAD_CURRENT_PTR = 0 , THREADX_VAL_TX_THREAD_CREATED_PTR = 1 , THREADX_VAL_TX_THREAD_CREATED_COUNT = 2 } |
Functions | |
static const struct rtos_register_stacking * | get_stacking_info (const struct rtos *rtos, int64_t stack_ptr) |
static const struct rtos_register_stacking * | get_stacking_info_arm926ejs (const struct rtos *rtos, int64_t stack_ptr) |
static int | is_thread_id_valid (const struct rtos *rtos, int64_t thread_id) |
static int | is_thread_id_valid_arm926ejs (const struct rtos *rtos, int64_t thread_id) |
static int | threadx_create (struct target *target) |
static bool | threadx_detect_rtos (struct target *target) |
static int | threadx_get_symbol_list_to_lookup (struct symbol_table_elem *symbol_list[]) |
static int | threadx_get_thread_reg_list (struct rtos *rtos, int64_t thread_id, struct rtos_reg **reg_list, int *num_regs) |
static int | threadx_update_threads (struct rtos *rtos) |
Variables | |
static const struct stack_register_offset | rtos_threadx_arm926ejs_stack_offsets_interrupt [] |
static const struct stack_register_offset | rtos_threadx_arm926ejs_stack_offsets_solicited [] |
static const struct rtos_register_stacking | rtos_threadx_arm926ejs_stacking [] |
static const struct threadx_params | threadx_params_list [] |
const struct rtos_type | threadx_rtos |
static const char *const | threadx_symbol_list [] |
static const struct threadx_thread_state | threadx_thread_states [] |
#define THREADX_NUM_STATES ARRAY_SIZE(threadx_thread_states) |
#define THREADX_THREAD_NAME_STR_SIZE (200) |
|
static |
Definition at line 203 of file ThreadX.c.
References threadx_params::fn_get_stacking_info, rtos::rtos_specific_params, and threadx_params::stacking_info.
Referenced by threadx_get_thread_reg_list().
|
static |
Definition at line 228 of file ThreadX.c.
References ERROR_OK, flag, LOG_DEBUG, LOG_ERROR, NULL, rtos::rtos_specific_params, threadx_params::stacking_info, rtos::target, and target_read_buffer().
|
static |
Definition at line 213 of file ThreadX.c.
References threadx_params::fn_is_thread_id_valid, and rtos::rtos_specific_params.
Referenced by threadx_get_thread_reg_list().
|
static |
|
static |
Definition at line 607 of file ThreadX.c.
References ARRAY_SIZE, rtos::current_thread, LOG_ERROR, NULL, target::rtos, rtos::rtos_specific_params, target_name(), target_type_name(), rtos::thread_details, and threadx_params_list.
|
static |
Definition at line 501 of file ThreadX.c.
References symbol_table_elem::address, target::rtos, rtos::symbols, and THREADX_VAL_TX_THREAD_CREATED_PTR.
|
static |
Definition at line 489 of file ThreadX.c.
References ARRAY_SIZE, and threadx_symbol_list.
|
static |
Definition at line 443 of file ThreadX.c.
References ERROR_OK, get_stacking_info(), is_thread_id_valid(), LOG_ERROR, LOG_INFO, threadx_params::pointer_width, rtos_generic_stack_read(), rtos::rtos_specific_params, stacking_info, rtos::target, target_read_buffer(), and threadx_params::thread_stack_offset.
|
static |
Definition at line 257 of file ThreadX.c.
References symbol_table_elem::address, rtos::current_thread, threadx_thread_state::desc, ERROR_OK, thread_detail::exists, thread_detail::extra_info_str, LOG_ERROR, NULL, threadx_params::pointer_width, rtos_free_threadlist(), rtos::rtos_specific_params, rtos::symbols, rtos::target, target_read_buffer(), rtos::thread_count, rtos::thread_details, threadx_params::thread_name_offset, thread_detail::thread_name_str, threadx_params::thread_next_offset, threadx_params::thread_state_offset, thread_detail::threadid, THREADX_NUM_STATES, THREADX_THREAD_NAME_STR_SIZE, threadx_thread_states, THREADX_VAL_TX_THREAD_CREATED_COUNT, THREADX_VAL_TX_THREAD_CREATED_PTR, and THREADX_VAL_TX_THREAD_CURRENT_PTR.
|
static |
|
static |
|
static |
|
static |
Definition at line 30 of file ThreadX.c.
Referenced by threadx_create().
const struct rtos_type threadx_rtos |
|
static |
|
static |
Definition at line 30 of file ThreadX.c.
Referenced by threadx_update_threads().