OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | chromium_ec_params |
Macros | |
#define | CROS_EC_IDLE_STRING "<< idle >>" |
#define | CROS_EC_MAX_BUILDINFO 512 |
#define | CROS_EC_MAX_NAME 200 |
#define | CROS_EC_MAX_TASKS 32 |
Functions | |
static int | chromium_ec_create (struct target *target) |
static bool | chromium_ec_detect_rtos (struct target *target) |
static int | chromium_ec_get_current_task_ptr (struct rtos *rtos, uint32_t *current_task) |
static int | chromium_ec_get_num_tasks (struct rtos *rtos, int *num_tasks) |
static int | chromium_ec_get_symbol_list_to_lookup (struct symbol_table_elem *symbol_list[]) |
static int | chromium_ec_get_thread_reg_list (struct rtos *rtos, threadid_t threadid, struct rtos_reg **reg_list, int *num_regs) |
static int | chromium_ec_update_threads (struct rtos *rtos) |
Variables | |
static const struct chromium_ec_params | chromium_ec_params_list [] |
const struct rtos_type | chromium_ec_rtos |
static const char *const | chromium_ec_symbol_list [] |
#define CROS_EC_IDLE_STRING "<< idle >>" |
Definition at line 22 of file chromium-ec.c.
#define CROS_EC_MAX_BUILDINFO 512 |
Definition at line 79 of file chromium-ec.c.
#define CROS_EC_MAX_NAME 200 |
Definition at line 21 of file chromium-ec.c.
#define CROS_EC_MAX_TASKS 32 |
Definition at line 20 of file chromium-ec.c.
Definition at line 67 of file chromium-ec.c.
|
static |
Definition at line 116 of file chromium-ec.c.
References ARRAY_SIZE, chromium_ec_params_list, rtos::current_thread, ERROR_FAIL, ERROR_OK, LOG_ERROR, LOG_INFO, NULL, target::rtos, rtos::rtos_specific_params, target_name(), target_type_name(), rtos::thread_count, and rtos::thread_details.
|
static |
Definition at line 81 of file chromium-ec.c.
References symbol_table_elem::address, chromium_ec_symbol_list, CHROMIUM_EC_VAL_BUILD_INFO, CHROMIUM_EC_VAL_COUNT, CHROMIUM_EC_VAL_START_CALLED, CROS_EC_MAX_BUILDINFO, ERROR_OK, LOG_DEBUG, LOG_ERROR, LOG_INFO, target::rtos, rtos::symbols, and target_read_buffer().
|
static |
Definition at line 143 of file chromium-ec.c.
References symbol_table_elem::address, CHROMIUM_EC_VAL_CURRENT_TASK, ERROR_FAIL, rtos::symbols, rtos::target, and target_read_u32().
Referenced by chromium_ec_update_threads().
|
static |
Definition at line 153 of file chromium-ec.c.
References symbol_table_elem::address, BIT, CHROMIUM_EC_VAL_TASKS_ENABLED, CROS_EC_MAX_TASKS, ERROR_OK, LOG_ERROR, rtos::symbols, rtos::target, and target_read_u32().
Referenced by chromium_ec_update_threads().
|
static |
Definition at line 366 of file chromium-ec.c.
References ARRAY_SIZE, chromium_ec_symbol_list, ERROR_FAIL, ERROR_OK, and LOG_ERROR.
|
static |
Definition at line 336 of file chromium-ec.c.
References symbol_table_elem::address, CHROMIUM_EC_VAL_TASKS, ERROR_FAIL, ERROR_OK, LOG_ERROR, rtos_generic_stack_read(), rtos::rtos_specific_params, chromium_ec_params::stacking, rtos::symbols, rtos::target, target_read_u32(), chromium_ec_params::task_offset_next, rtos::thread_count, rtos::thread_details, and thread_detail::threadid.
|
static |
Definition at line 176 of file chromium-ec.c.
References symbol_table_elem::address, BIT, chromium_ec_get_current_task_ptr(), chromium_ec_get_num_tasks(), CHROMIUM_EC_VAL_START_CALLED, CHROMIUM_EC_VAL_TASK_NAMES, CHROMIUM_EC_VAL_TASKS, CHROMIUM_EC_VAL_TASKS_ENABLED, CHROMIUM_EC_VAL_TASKS_READY, CROS_EC_IDLE_STRING, CROS_EC_MAX_NAME, CROS_EC_MAX_TASKS, rtos::current_thread, ERROR_FAIL, ERROR_OK, thread_detail::exists, thread_detail::extra_info_str, LOG_DEBUG, LOG_ERROR, NULL, chromium_ec_params::ptr_size, rtos_free_threadlist(), rtos::rtos_specific_params, rtos::symbols, rtos::target, target_buffer_get_u64(), target_read_buffer(), target_read_u32(), chromium_ec_params::task_offset_events, chromium_ec_params::task_offset_next, chromium_ec_params::task_offset_runtime, rtos::thread_count, rtos::thread_details, thread_detail::thread_name_str, and thread_detail::threadid.
|
static |
Definition at line 1 of file chromium-ec.c.
Referenced by chromium_ec_create().
const struct rtos_type chromium_ec_rtos |
Definition at line 366 of file chromium-ec.c.
|
static |
Definition at line 56 of file chromium-ec.c.
Referenced by chromium_ec_detect_rtos(), and chromium_ec_get_symbol_list_to_lookup().