Go to the source code of this file.
◆ ECOS_NUM_STATES
◆ ECOS_THREAD_NAME_STR_SIZE
#define ECOS_THREAD_NAME_STR_SIZE (200) |
◆ ecos_symbol_values
Enumerator |
---|
ECOS_VAL_THREAD_LIST | |
ECOS_VAL_CURRENT_THREAD_PTR | |
Definition at line 65 of file eCos.c.
◆ ecos_create()
static int ecos_create |
( |
struct target * |
target | ) |
|
|
static |
Definition at line 363 of file eCos.c.
References ARRAY_SIZE, rtos::current_thread, ecos_params_list, LOG_ERROR, target_type::name, NULL, target::rtos, rtos::rtos_specific_params, target_name(), rtos::thread_details, and target::type.
◆ ecos_detect_rtos()
static bool ecos_detect_rtos |
( |
struct target * |
target | ) |
|
|
static |
◆ ecos_get_symbol_list_to_lookup()
static int ecos_get_symbol_list_to_lookup |
( |
struct symbol_table_elem * |
symbol_list[] | ) |
|
|
static |
◆ ecos_get_thread_reg_list()
static int ecos_get_thread_reg_list |
( |
struct rtos * |
rtos, |
|
|
int64_t |
thread_id, |
|
|
struct rtos_reg ** |
reg_list, |
|
|
int * |
num_regs |
|
) |
| |
|
static |
◆ ecos_update_threads()
static int ecos_update_threads |
( |
struct rtos * |
rtos | ) |
|
|
static |
Definition at line 87 of file eCos.c.
References symbol_table_elem::address, rtos::current_thread, ecos_thread_state::desc, ECOS_NUM_STATES, ECOS_THREAD_NAME_STR_SIZE, ecos_thread_states, ECOS_VAL_CURRENT_THREAD_PTR, ECOS_VAL_THREAD_LIST, ERROR_OK, thread_detail::exists, thread_detail::extra_info_str, LOG_ERROR, NULL, param, rtos_free_threadlist(), rtos::rtos_specific_params, rtos::symbols, rtos::target, target_read_buffer(), rtos::thread_count, rtos::thread_details, thread_detail::thread_name_str, and thread_detail::threadid.
◆ ecos_params_list
Initial value:= {
{
"cortex_m",
4,
0x0c,
0x9c,
0x3c,
0xa0,
0x4c,
}
}
const struct rtos_register_stacking rtos_ecos_cortex_m3_stacking
Definition at line 23 of file eCos.c.
Referenced by ecos_create().
◆ ecos_rtos
Initial value:= {
.name = "eCos",
}
static bool ecos_detect_rtos(struct target *target)
static int ecos_update_threads(struct rtos *rtos)
static int ecos_get_symbol_list_to_lookup(struct symbol_table_elem *symbol_list[])
static int ecos_create(struct target *target)
static int ecos_get_thread_reg_list(struct rtos *rtos, int64_t thread_id, struct rtos_reg **reg_list, int *num_regs)
Definition at line 70 of file eCos.c.
◆ ecos_symbol_list
const char* const ecos_symbol_list[] |
|
static |
◆ ecos_thread_states
Initial value:= {
{ 0, "Ready" },
{ 1, "Sleeping" },
{ 2, "Countsleep" },
{ 4, "Suspended" },
{ 8, "Creating" },
{ 16, "Exited" }
}
Definition at line 23 of file eCos.c.
Referenced by ecos_update_threads().