OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | ucos_iii_params |
Macros | |
#define | UCOS_III_MAX_STRLEN 64 |
#define | UCOS_III_MAX_THREADS 256 |
Functions | |
static int | ucos_iii_create (struct target *target) |
static bool | ucos_iii_detect_rtos (struct target *target) |
static int | ucos_iii_find_last_thread_address (struct rtos *rtos, symbol_address_t *thread_address) |
static int | ucos_iii_find_or_create_thread (struct rtos *rtos, symbol_address_t thread_address, threadid_t *threadid) |
static int | ucos_iii_find_thread_address (struct rtos *rtos, threadid_t threadid, symbol_address_t *thread_address) |
static int | ucos_iii_get_symbol_list_to_lookup (struct symbol_table_elem *symbol_list[]) |
static int | ucos_iii_get_thread_reg_list (struct rtos *rtos, threadid_t threadid, struct rtos_reg **reg_list, int *num_regs) |
static int | ucos_iii_reset_handler (struct target *target, enum target_reset_mode reset_mode, void *priv) |
static int | ucos_iii_update_thread_offsets (struct rtos *rtos) |
static int | ucos_iii_update_threads (struct rtos *rtos) |
Variables | |
static const struct ucos_iii_params | ucos_iii_params_list [] |
const struct rtos_type | ucos_iii_rtos |
static const char *const | ucos_iii_symbol_list [] |
static const char *const | ucos_iii_thread_state_list [] |
#define UCOS_III_MAX_STRLEN 64 |
Definition at line 22 of file uCOS-III.c.
#define UCOS_III_MAX_THREADS 256 |
Definition at line 26 of file uCOS-III.c.
Definition at line 92 of file uCOS-III.c.
|
static |
Definition at line 263 of file uCOS-III.c.
References ARRAY_SIZE, ERROR_FAIL, ERROR_OK, LOG_ERROR, target_type::name, NULL, target::rtos, rtos::rtos_specific_params, target_name(), target_register_reset_callback(), ucos_iii_params::threads, target::type, UCOS_III_MAX_THREADS, ucos_iii_params_list, and ucos_iii_reset_handler().
|
static |
Definition at line 247 of file uCOS-III.c.
References symbol_table_elem::address, target::rtos, rtos::symbols, and UCOS_III_VAL_OS_RUNNING.
|
static |
Definition at line 156 of file uCOS-III.c.
References symbol_table_elem::address, ERROR_OK, LOG_ERROR, ucos_iii_params::pointer_width, rtos::rtos_specific_params, rtos::symbols, rtos::target, target_read_memory(), ucos_iii_params::thread_next_offset, and UCOS_III_VAL_OS_TASK_DBG_LIST_PTR.
Referenced by ucos_iii_update_threads().
|
static |
Definition at line 118 of file uCOS-III.c.
References ERROR_FAIL, ERROR_OK, LOG_WARNING, ucos_iii_params::num_threads, rtos::rtos_specific_params, ucos_iii_params::threadid_start, ucos_iii_params::threads, and UCOS_III_MAX_THREADS.
Referenced by ucos_iii_update_threads().
|
static |
Definition at line 140 of file uCOS-III.c.
References ERROR_FAIL, ERROR_OK, LOG_ERROR, ucos_iii_params::num_threads, rtos::rtos_specific_params, ucos_iii_params::threadid_start, and ucos_iii_params::threads.
Referenced by ucos_iii_get_thread_reg_list().
|
static |
Definition at line 500 of file uCOS-III.c.
References ARRAY_SIZE, ERROR_FAIL, ERROR_OK, LOG_ERROR, and ucos_iii_symbol_list.
|
static |
Definition at line 465 of file uCOS-III.c.
References ERROR_OK, LOG_ERROR, ucos_iii_params::pointer_width, rtos_generic_stack_read(), rtos::rtos_specific_params, ucos_iii_params::stacking_info, rtos::target, target_read_memory(), ucos_iii_params::thread_stack_offset, and ucos_iii_find_thread_address().
|
static |
Definition at line 253 of file uCOS-III.c.
References ERROR_OK, ucos_iii_params::num_threads, target::rtos, rtos::rtos_specific_params, and ucos_iii_params::thread_offsets_updated.
Referenced by ucos_iii_create().
|
static |
Definition at line 192 of file uCOS-III.c.
References symbol_table_elem::address, ARRAY_SIZE, ERROR_OK, LOG_ERROR, ucos_iii_params::pointer_width, rtos::rtos_specific_params, rtos::symbols, rtos::target, target_read_memory(), ucos_iii_params::thread_name_offset, ucos_iii_params::thread_next_offset, ucos_iii_params::thread_offsets_updated, ucos_iii_params::thread_prev_offset, ucos_iii_params::thread_priority_offset, ucos_iii_params::thread_stack_offset, ucos_iii_params::thread_state_offset, UCOS_III_VAL_OS_TCB_DBG_NEXT_PTR_OFFSET, UCOS_III_VAL_OS_TCB_DBG_PREV_PTR_OFFSET, UCOS_III_VAL_OS_TCB_NAME_PTR_OFFSET, UCOS_III_VAL_OS_TCB_PRIO_OFFSET, UCOS_III_VAL_OS_TCB_STK_PTR_OFFSET, and UCOS_III_VAL_OS_TCB_TASK_STATE_OFFSET.
Referenced by ucos_iii_update_threads().
|
static |
Definition at line 287 of file uCOS-III.c.
References symbol_table_elem::address, ARRAY_SIZE, rtos::current_thread, ERROR_FAIL, ERROR_OK, thread_detail::exists, thread_detail::extra_info_str, LOG_ERROR, ucos_iii_params::pointer_width, rtos_free_threadlist(), rtos::rtos_specific_params, rtos::symbols, rtos::target, target_read_buffer(), target_read_memory(), target_read_u16(), target_read_u8(), rtos::thread_count, rtos::thread_details, ucos_iii_params::thread_name_offset, thread_detail::thread_name_str, ucos_iii_params::thread_prev_offset, ucos_iii_params::thread_priority_offset, ucos_iii_params::thread_state_offset, thread_detail::threadid, ucos_iii_find_last_thread_address(), ucos_iii_find_or_create_thread(), UCOS_III_MAX_STRLEN, ucos_iii_thread_state_list, ucos_iii_update_thread_offsets(), UCOS_III_VAL_OS_RUNNING, UCOS_III_VAL_OS_TASK_QTY, and UCOS_III_VAL_OS_TCB_CUR_PTR.
|
static |
Definition at line 1 of file uCOS-III.c.
Referenced by ucos_iii_create().
const struct rtos_type ucos_iii_rtos |
Definition at line 500 of file uCOS-III.c.
|
static |
Definition at line 76 of file uCOS-III.c.
Referenced by ucos_iii_get_symbol_list_to_lookup().
|
static |
Definition at line 107 of file uCOS-III.c.
Referenced by ucos_iii_update_threads().