Home
last modified time | relevance | path

Searched refs:write_cfg (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.6.0/components/espcoredump/src/
Dcore_dump_binary.c27 static esp_err_t esp_core_dump_save_task(core_dump_write_config_t *write_cfg, in esp_core_dump_save_task() argument
38 err = write_cfg->write(write_cfg->priv, (void*)task, sizeof(core_dump_task_header_t)); in esp_core_dump_save_task()
44 err = write_cfg->write(write_cfg->priv, task->tcb_addr, esp_core_dump_get_tcb_len()); in esp_core_dump_save_task()
50 err = write_cfg->write(write_cfg->priv, (void*)stk_paddr, stk_len); in esp_core_dump_save_task()
64 static esp_err_t esp_core_dump_save_mem_segment(core_dump_write_config_t* write_cfg, in esp_core_dump_save_mem_segment() argument
75 err = write_cfg->write(write_cfg->priv, (void*)seg, sizeof(core_dump_mem_seg_header_t)); in esp_core_dump_save_mem_segment()
81 err = write_cfg->write(write_cfg->priv, (void*)seg->start, seg->size); in esp_core_dump_save_mem_segment()
92 esp_err_t esp_core_dump_write_binary(core_dump_write_config_t *write_cfg) in esp_core_dump_write_binary() argument
165 if (write_cfg->prepare) { in esp_core_dump_write_binary()
166 err = write_cfg->prepare(write_cfg->priv, &data_len); in esp_core_dump_write_binary()
[all …]
Dcore_dump_elf.c87 core_dump_write_config_t * write_cfg; member
133 … esp_err_t err = self->write_cfg->write(self->write_cfg->priv, (void*)&elf_hdr, sizeof(elf_hdr)); in elf_write_file_header()
149 esp_err_t err = self->write_cfg->write(self->write_cfg->priv, (void*)phdr, sizeof(elf_phdr)); in elf_write_segment_header()
192 err = self->write_cfg->write(self->write_cfg->priv, data, (uint32_t)data_len); in elf_add_segment()
229 err = self->write_cfg->write(self->write_cfg->priv, (void*)&note_hdr, sizeof(note_hdr)); in elf_write_note()
233 err = self->write_cfg->write(self->write_cfg->priv, (void*)name_buffer, name_len); in elf_write_note()
237 err = self->write_cfg->write(self->write_cfg->priv, (void*)data, data_len); in elf_write_note()
569 esp_err_t esp_core_dump_write_elf(core_dump_write_config_t *write_cfg) in esp_core_dump_write_elf() argument
577 ELF_CHECK_ERR((write_cfg), ESP_ERR_INVALID_ARG, "Invalid input data."); in esp_core_dump_write_elf()
579 self.write_cfg = write_cfg; in esp_core_dump_write_elf()
[all …]
Dcore_dump_common.c146 inline void esp_core_dump_write(panic_info_t *info, core_dump_write_config_t *write_cfg) in esp_core_dump_write() argument
155 err = esp_core_dump_write_binary(write_cfg); in esp_core_dump_write()
157 err = esp_core_dump_write_elf(write_cfg); in esp_core_dump_write()
/hal_espressif-3.6.0/components/espcoredump/include_core_dump/
Dcore_dump_elf.h28 esp_err_t esp_core_dump_write_elf(core_dump_write_config_t *write_cfg);
Dcore_dump_binary.h28 esp_err_t esp_core_dump_write_binary(core_dump_write_config_t *write_cfg);
Desp_core_dump_types.h182 void esp_core_dump_write(panic_info_t *info, core_dump_write_config_t *write_cfg);