Home
last modified time | relevance | path

Searched refs:tcb_addr (Results 1 – 11 of 11) sorted by relevance

/hal_espressif-2.7.6/components/espcoredump/src/
Dcore_dump_binary.c44 err = write_cfg->write(write_cfg->priv, task->tcb_addr, esp_core_dump_get_tcb_len()); in esp_core_dump_save_task()
53 task->tcb_addr, in esp_core_dump_save_task()
60 task->tcb_addr); in esp_core_dump_save_task()
114 … ESP_COREDUMP_LOG_PROCESS("Task %x %x is first crashed task.", cur_task, task_hdr.tcb_addr); in esp_core_dump_write_binary()
200 task_hdr.tcb_addr, err); in esp_core_dump_write_binary()
213 …ESP_COREDUMP_LOGD("Save task %x (TCB:%x, stack:%x..%x)", task, task_hdr.tcb_addr, task_hdr.stack_s… in esp_core_dump_write_binary()
217 task_hdr.tcb_addr, err); in esp_core_dump_write_binary()
Dcore_dump_elf.c266 ESP_COREDUMP_LOGE("Zero size register dump for task 0x%x!", task->tcb_addr); in elf_add_regs()
286 task->tcb_addr, stack_vaddr, stack_len); in elf_add_stack()
299 task->tcb_addr, task->tcb_addr, in elf_add_tcb()
302 (uint32_t)task->tcb_addr, in elf_add_tcb()
303 task->tcb_addr, in elf_add_tcb()
318 task->tcb_addr, in elf_process_task_tcb()
333 task->tcb_addr, in elf_process_task_stack()
420 "Task %x, TCB write failed, return (%d).", task->tcb_addr, ret); in elf_save_task()
424 "Task %x, stack write failed, return (%d).", task->tcb_addr, ret); in elf_save_task()
Dcore_dump_common.c183 ESP_COREDUMP_LOG_PROCESS("Switched task %x to ISR stack [%x...%x]", task->tcb_addr, in esp_core_dump_switch_task_stack_to_isr()
208 task->tcb_addr = handle; in esp_core_dump_get_task_snapshot()
/hal_espressif-2.7.6/components/espcoredump/corefile/
Dxtensa.py208 def tcb_is_sane(tcb_addr, tcb_size): argument
209 return not (tcb_addr < 0x3ffae000 or (tcb_addr + tcb_size) > 0x40000000)
264 def build_prstatus_data(tcb_addr, task_regs): argument
273 'pr_pid': tcb_addr,
D__init__.py33 def tcb_is_sane(tcb_addr, tcb_size): argument
67 def build_prstatus_data(tcb_addr, task_regs): argument
Dloader.py315 'task_tcb_addr': task.task_header.tcb_addr,
323 if self.target_method_cls.tcb_is_sane(task.task_header.tcb_addr, tcbsz_aligned):
324 core_elf.add_segment(task.task_header.tcb_addr,
328 … elif task.task_header.tcb_addr and self.target_method_cls.addr_is_fake(task.task_header.tcb_addr):
332 .format(tcbsz_aligned, task.task_header.tcb_addr, e))
370 … self.arch_method_cls.build_prstatus_data(task.task_header.tcb_addr,
382 _regs = [task.task_header.tcb_addr] + exc_regs
Dgdb.py91 def get_freertos_task_name(self, tcb_addr): # type: (int) -> str argument
94 … val = self._gdbmi_data_evaluate_expression('(char*)((TCB_t *)0x%x)->pcTaskName' % tcb_addr)
/hal_espressif-2.7.6/components/espcoredump/src/port/xtensa/
Dcore_dump_port.c372 if (!esp_core_dump_tcb_addr_is_sane((uint32_t)task->tcb_addr)) { in esp_core_dump_check_task()
373 ESP_COREDUMP_LOG_PROCESS("Bad TCB addr=%x!", task->tcb_addr); in esp_core_dump_check_task()
381 task->tcb_addr, in esp_core_dump_check_task()
387 task->tcb_addr, in esp_core_dump_check_task()
394 task->tcb_addr, in esp_core_dump_check_task()
405 task->tcb_addr, in esp_core_dump_check_task()
430 ESP_COREDUMP_LOG_PROCESS("Add regs for task 0x%x", task->tcb_addr); in esp_core_dump_get_task_regs_dump()
434 s_reg_dump.pr_status.pr_pid = (uint32_t)task->tcb_addr; in esp_core_dump_get_task_regs_dump()
/hal_espressif-2.7.6/components/espcoredump/src/port/riscv/
Dcore_dump_port.c284 if (!esp_core_dump_tcb_addr_is_sane((uint32_t)task->tcb_addr)) { in esp_core_dump_check_task()
285 ESP_COREDUMP_LOG_PROCESS("Bad TCB addr=%x!", task->tcb_addr); in esp_core_dump_check_task()
330 ESP_COREDUMP_LOG_PROCESS("Add regs for task 0x%x", task->tcb_addr); in esp_core_dump_get_task_regs_dump()
346 prstatus.pid = (uint32_t)task->tcb_addr; in esp_core_dump_get_task_regs_dump()
/hal_espressif-2.7.6/components/espcoredump/
Despcoredump.py154 tcb_addr = gdb.gdb2freertos_thread_id(thr['target-id'])
156 task_name = gdb.get_freertos_task_name(tcb_addr)
159 .format(thr_id, tcb_addr, task_name))
/hal_espressif-2.7.6/components/espcoredump/include_core_dump/
Desp_core_dump_types.h159 core_dump_task_handle_t tcb_addr; /*!< TCB address */ member