OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | ucos_iii_params |
struct | ucos_iii_private |
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 21 of file uCOS-III.c.
#define UCOS_III_MAX_THREADS 256 |
Definition at line 25 of file uCOS-III.c.
Definition at line 79 of file uCOS-III.c.
|
static |
Definition at line 250 of file uCOS-III.c.
References ARRAY_SIZE, ERROR_FAIL, ERROR_OK, LOG_ERROR, NULL, ucos_iii_private::params, target::rtos, rtos::rtos_specific_params, target_name(), target_register_reset_callback(), target_type_name(), ucos_iii_params_list, and ucos_iii_reset_handler().
|
static |
Definition at line 234 of file uCOS-III.c.
References symbol_table_elem::address, target::rtos, rtos::symbols, and UCOS_III_VAL_OS_RUNNING.
|
static |
Definition at line 143 of file uCOS-III.c.
References symbol_table_elem::address, ERROR_OK, LOG_ERROR, ucos_iii_private::params, ucos_iii_params::pointer_width, rtos::rtos_specific_params, rtos::symbols, rtos::target, target_read_memory(), and UCOS_III_VAL_OS_TASK_DBG_LIST_PTR.
Referenced by ucos_iii_update_threads().
|
static |
Definition at line 105 of file uCOS-III.c.
References ERROR_FAIL, ERROR_OK, LOG_WARNING, ucos_iii_private::params, rtos::rtos_specific_params, ucos_iii_params::threadid_start, and UCOS_III_MAX_THREADS.
Referenced by ucos_iii_update_threads().
|
static |
Definition at line 127 of file uCOS-III.c.
References ERROR_FAIL, ERROR_OK, LOG_ERROR, ucos_iii_private::params, rtos::rtos_specific_params, and ucos_iii_params::threadid_start.
Referenced by ucos_iii_get_thread_reg_list().
|
static |
Definition at line 487 of file uCOS-III.c.
References ARRAY_SIZE, ERROR_FAIL, ERROR_OK, LOG_ERROR, and ucos_iii_symbol_list.
|
static |
Definition at line 452 of file uCOS-III.c.
References ERROR_OK, LOG_ERROR, ucos_iii_private::params, ucos_iii_params::pointer_width, rtos_generic_stack_read(), rtos::rtos_specific_params, ucos_iii_params::stacking_info, rtos::target, target_read_memory(), and ucos_iii_find_thread_address().
|
static |
Definition at line 240 of file uCOS-III.c.
References ERROR_OK, ucos_iii_private::params, target::rtos, and rtos::rtos_specific_params.
Referenced by ucos_iii_create().
|
static |
Definition at line 179 of file uCOS-III.c.
References symbol_table_elem::address, ARRAY_SIZE, ERROR_OK, LOG_ERROR, ucos_iii_private::params, ucos_iii_params::pointer_width, rtos::rtos_specific_params, rtos::symbols, rtos::target, target_read_memory(), ucos_iii_private::thread_name_offset, ucos_iii_private::thread_next_offset, ucos_iii_private::thread_offsets_updated, ucos_iii_private::thread_prev_offset, ucos_iii_private::thread_priority_offset, ucos_iii_private::thread_stack_offset, ucos_iii_private::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 274 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_private::params, 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_private::thread_name_offset, thread_detail::thread_name_str, ucos_iii_private::thread_prev_offset, ucos_iii_private::thread_priority_offset, ucos_iii_private::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 487 of file uCOS-III.c.
|
static |
Definition at line 63 of file uCOS-III.c.
Referenced by ucos_iii_get_symbol_list_to_lookup().
|
static |
Definition at line 94 of file uCOS-III.c.
Referenced by ucos_iii_update_threads().