/hal_espressif-latest/components/esp_system/port/arch/xtensa/ |
D | debug_helpers.c | 28 frame->pc = frame->next_pc; in esp_backtrace_get_next_frame() 33 …sp_stack_ptr_is_sane(frame->sp) && esp_ptr_executable((void*)esp_cpu_process_stack_pc(frame->pc))); in esp_backtrace_get_next_frame() 36 static void IRAM_ATTR print_entry(uint32_t pc, uint32_t sp, bool panic) in print_entry() argument 40 panic_print_hex(pc); in print_entry() 44 esp_rom_printf(" 0x%08X:0x%08X", pc, sp); in print_entry() 69 print_entry(esp_cpu_process_stack_pc(stk_frame.pc), stk_frame.sp, panic); in esp_backtrace_print_from_frame() 73 (esp_ptr_executable((void *)esp_cpu_process_stack_pc(stk_frame.pc)) || in esp_backtrace_print_from_frame() 82 print_entry(esp_cpu_process_stack_pc(stk_frame.pc), stk_frame.sp, panic); in esp_backtrace_print_from_frame() 101 esp_backtrace_get_start(&(start.pc), &(start.sp), &(start.next_pc)); in esp_backtrace_print()
|
D | panic_arch.c | 102 uint32_t epc = frame->pc; in print_illegal_instruction_details() 392 info->addr = ((void *) ((XtExcFrame *) frame)->pc); in panic_arch_fill_info() 453 return ((XtExcFrame *)f)->pc; in panic_get_address() 463 ((XtExcFrame *)f)->pc = addr; in panic_set_address() 469 …esp_backtrace_frame_t frame = {.pc = xt_frame->pc, .sp = xt_frame->a1, .next_pc = xt_frame->a0, .e… in panic_print_backtrace()
|
/hal_espressif-latest/components/xtensa/include/ |
D | esp_cpu_utils.h | 20 static inline uint32_t esp_cpu_process_stack_pc(uint32_t pc) in esp_cpu_process_stack_pc() argument 22 if (pc & 0x80000000) { in esp_cpu_process_stack_pc() 24 pc = (pc & 0x3fffffff) | 0x40000000; in esp_cpu_process_stack_pc() 27 return pc - 3; in esp_cpu_process_stack_pc()
|
/hal_espressif-latest/components/esp_hw_support/include/esp_private/ |
D | esp_riscv_intr.h | 64 const intptr_t pc = (intptr_t) &_vector_table[intr_num]; in esp_riscv_intr_num_flags() local 67 const intptr_t destination = pc + riscv_decode_offset_from_jal_instruction(pc); in esp_riscv_intr_num_flags()
|
/hal_espressif-latest/components/bootloader_support/src/esp32s2/ |
D | bootloader_esp32s2.c | 59 uint32_t inst = 0, pid = 0, stat = 0, data = 0, pc = 0, in wdt_reset_info_dump() 68 pc = REG_READ(ASSIST_DEBUG_PRO_RCD_PDEBUGPC); in wdt_reset_info_dump() 75 ESP_EARLY_LOGW(TAG, "WDT reset info: %s CPU PC=0x%"PRIx32" (waiti mode)", cpu_name, pc); in wdt_reset_info_dump() 77 ESP_EARLY_LOGW(TAG, "WDT reset info: %s CPU PC=0x%"PRIx32, cpu_name, pc); in wdt_reset_info_dump() 84 ESP_EARLY_LOGD(TAG, "WDT reset info: %s CPU PDEBUGPC 0x%08"PRIx32, cpu_name, pc); in wdt_reset_info_dump()
|
/hal_espressif-latest/components/bootloader_support/src/esp32/ |
D | bootloader_esp32.c | 93 uint32_t inst = 0, pid = 0, stat = 0, data = 0, pc = 0, in wdt_reset_info_dump() local 103 pc = DPORT_REG_READ(DPORT_PRO_CPU_RECORD_PDEBUGPC_REG); in wdt_reset_info_dump() 114 pc = DPORT_REG_READ(DPORT_APP_CPU_RECORD_PDEBUGPC_REG); in wdt_reset_info_dump() 123 ESP_LOGW(TAG, "WDT reset info: %s CPU PC=0x%"PRIx32" (waiti mode)", cpu_name, pc); in wdt_reset_info_dump() 125 ESP_LOGW(TAG, "WDT reset info: %s CPU PC=0x%"PRIx32, cpu_name, pc); in wdt_reset_info_dump() 132 ESP_LOGD(TAG, "WDT reset info: %s CPU PDEBUGPC 0x%08"PRIx32, cpu_name, pc); in wdt_reset_info_dump()
|
/hal_espressif-latest/components/esp_hw_support/include/hal/ |
D | cpu_ll.h | 49 FORCE_INLINE_ATTR __attribute__((deprecated)) void cpu_ll_set_breakpoint(int id, uint32_t pc) in cpu_ll_set_breakpoint() argument 51 esp_cpu_set_breakpoint(id, (const void *)pc); in cpu_ll_set_breakpoint() 65 …E_INLINE_ATTR __attribute__((deprecated)) __attribute__((pure)) void *cpu_ll_pc_to_ptr(uint32_t pc) in cpu_ll_pc_to_ptr() argument 67 return esp_cpu_pc_to_addr(pc); in cpu_ll_pc_to_ptr()
|
/hal_espressif-latest/components/xtensa/trax/ |
D | traceparse.py | 286 pc = 0 289 if pc == 0 and m.pc_target == 0: 293 pc = m.process_forward(pc) 297 pc = messages[first_sync_index].pc_start 301 pc = m.process_backward(pc)
|
/hal_espressif-latest/zephyr/esp32/src/ |
D | soc_init.c | 17 uint32_t inst = 0, pid = 0, stat = 0, data = 0, pc = 0, lsstat = 0, lsaddr = 0, lsdata = 0, in wdt_reset_info_dump() local 30 pc = DPORT_REG_READ(DPORT_PRO_CPU_RECORD_PDEBUGPC_REG); in wdt_reset_info_dump() 44 ESP_EARLY_LOGD(TAG, "WDT reset info: %s CPU PDEBUGPC 0x%08" PRIx32, cpu_name, pc); in wdt_reset_info_dump()
|
/hal_espressif-latest/components/bootloader_support/src/esp32s3/ |
D | bootloader_esp32s3.c | 59 uint32_t inst = 0, pid = 0, stat = 0, data = 0, pc = 0, in wdt_reset_info_dump() local 69 pc = REG_READ(ASSIST_DEBUG_CORE_0_RCD_PDEBUGPC_REG); in wdt_reset_info_dump() 78 pc = REG_READ(ASSIST_DEBUG_CORE_1_RCD_PDEBUGPC_REG); in wdt_reset_info_dump() 93 ESP_EARLY_LOGD(TAG, "WDT reset info: %s CPU PDEBUGPC 0x%08"PRIx32, cpu_name, pc); in wdt_reset_info_dump()
|
/hal_espressif-latest/components/esp_system/include/ |
D | esp_debug_helpers.h | 33 uint32_t pc; /* PC of the current frame */ member 61 extern void esp_backtrace_get_start(uint32_t *pc, uint32_t *sp, uint32_t *next_pc);
|
/hal_espressif-latest/zephyr/esp32s3/src/ |
D | soc_init.c | 67 uint32_t inst = 0, pid = 0, stat = 0, data = 0, pc = 0, lsstat = 0, lsaddr = 0, lsdata = 0, in wdt_reset_info_dump() local 78 pc = REG_READ(ASSIST_DEBUG_CORE_0_RCD_PDEBUGPC_REG); in wdt_reset_info_dump() 92 ESP_EARLY_LOGD(TAG, "WDT reset info: %s CPU PDEBUGPC 0x%08" PRIx32, cpu_name, pc); in wdt_reset_info_dump()
|
/hal_espressif-latest/components/esp_hw_support/include/ |
D | esp_cpu.h | 193 FORCE_INLINE_ATTR __attribute__((pure)) void *esp_cpu_pc_to_addr(uint32_t pc) in esp_cpu_pc_to_addr() argument 197 return (void *)((pc & 0x3fffffffU) | 0x40000000U); in esp_cpu_pc_to_addr() 199 return (void *)pc; in esp_cpu_pc_to_addr()
|
/hal_espressif-latest/components/xtensa/include/xtensa/ |
D | xtensa_context.h | 118 STRUCT_FIELD (long, 4, XT_STK_PC, pc) /* return PC */ 226 STRUCT_FIELD (long, 4, XT_SOL_PC, pc) 239 STRUCT_FIELD (long, 4, XT_SOL_PC, pc)
|
D | xtruntime-frames.h | 70 STRUCT_FIELD (long,4,KEXC_,pc) /* "parm" */ 94 STRUCT_FIELD (long,4,UEXC_,pc)
|
D | hal.h | 1489 unsigned pc; member
|
/hal_espressif-latest/components/esp_system/ |
D | eh_frame_parser.c | 816 static bool esp_eh_frame_missing_info(const uint32_t* fde, uint32_t pc) { in esp_eh_frame_missing_info() argument 831 return (initial_location + range_length) <= pc; in esp_eh_frame_missing_info() 841 void __attribute__((weak)) esp_eh_frame_generated_step(uint32_t pc, uint32_t sp) in esp_eh_frame_generated_step() argument 844 panic_print_hex(pc); in esp_eh_frame_generated_step()
|
/hal_espressif-latest/components/soc/esp32s2/include/soc/ |
D | sens_struct.h | 399 uint32_t pc: 13; /*cocpu Program counter*/ member
|
/hal_espressif-latest/components/soc/esp32s3/include/soc/ |
D | sens_struct.h | 372 uint32_t pc : 13; /*cocpu Program counter*/ member
|