Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 36) sorted by relevance

12

/hal_espressif-latest/components/riscv/
Dvectors.S24 addi sp, sp, -\cxt_size
25 sw ra, RV_STK_RA(sp)
26 sw tp, RV_STK_TP(sp)
27 sw t0, RV_STK_T0(sp)
28 sw t1, RV_STK_T1(sp)
29 sw t2, RV_STK_T2(sp)
30 sw s0, RV_STK_S0(sp)
31 sw s1, RV_STK_S1(sp)
32 sw a0, RV_STK_A0(sp)
33 sw a1, RV_STK_A1(sp)
[all …]
Dinterrupt.c53 void _global_interrupt_handler(intptr_t sp, int mcause) in _global_interrupt_handler() argument
/hal_espressif-latest/components/esp_system/port/soc/esp32s2/
Dhighint_hdl.S40 mov a0, sp
41 addi sp, sp, -XT_STK_FRMSZ
42 s32i a0, sp, XT_STK_A1
44 s32e a0, sp, -12 /* for debug backtrace */
47 s32i a0, sp, XT_STK_PS
49 s32i a0, sp, XT_STK_PC
51 s32i a0, sp, XT_STK_A0
53 s32e a0, sp, -16 /* for debug backtrace */
55 s32i a12, sp, XT_STK_A12 /* _xt_context_save requires A12- */
56 s32i a13, sp, XT_STK_A13 /* A13 to have already been saved */
[all …]
/hal_espressif-latest/components/esp_system/port/arch/xtensa/
Dpanic_handler_asm.S28 mov a0, sp
29 addi sp, sp, -XT_STK_FRMSZ
30 s32i a0, sp, XT_STK_A1
32 s32e a0, sp, -12 /* for debug backtrace */
35 s32i a0, sp, XT_STK_PS
37 s32i a0, sp, XT_STK_PC
39 s32i a0, sp, XT_STK_A0
41 s32e a0, sp, -16 /* for debug backtrace */
43 s32i a12, sp, XT_STK_A12 /* _xt_context_save requires A12- */
44 s32i a13, sp, XT_STK_A13 /* A13 to have already been saved */
[all …]
Ddebug_helpers.c27 void *base_save = (void *)frame->sp; //Base save area consists of 4 words under SP in esp_backtrace_get_next_frame()
30 frame->sp = *((uint32_t *)(base_save - 12)); in esp_backtrace_get_next_frame()
33 …return (esp_stack_ptr_is_sane(frame->sp) && esp_ptr_executable((void*)esp_cpu_process_stack_pc(fra… 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
42 panic_print_hex(sp); 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()
72 bool corrupted = !(esp_stack_ptr_is_sane(stk_frame.sp) && 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()
Ddebug_helpers_asm.S50 l32e a5, sp, -16 //Get i PC, which is ret addres of i+1
52 l32e a6, sp, -12 //Get i+1 SP. Used to access i BS
Dexpression_with_stack_asm.S37 l32i sp, a6, 0 /* load shared stack pointer */
/hal_espressif-latest/components/esp_system/port/arch/riscv/
Dexpression_with_stack_asm.S21 mv t0, sp
25 mv sp, a1
29 addi sp,sp,-16
30 sw t0, 0(sp)
31 sw t1, 4(sp)
37 lw t0, 0(sp)
38 lw t1, 4(sp)
39 addi sp, sp, 16
43 mv sp, t0
Dpanic_arch.c353 uint32_t sp = (uint32_t)((RvExcFrame *)frame)->sp; in panic_print_basic_backtrace() local
356 uint32_t *spp = (uint32_t *)(sp + x); in panic_print_basic_backtrace()
357 panic_print_hex(sp + x); in panic_print_basic_backtrace()
/hal_espressif-latest/components/esp_system/port/soc/esp32s3/
Dhighint_hdl.S48 mov a0, sp
49 addi sp, sp, -XT_STK_FRMSZ
50 s32i a0, sp, XT_STK_A1
52 s32e a0, sp, -12 /* for debug backtrace */
55 s32i a0, sp, XT_STK_PS
57 s32i a0, sp, XT_STK_PC
59 s32i a0, sp, XT_STK_A0
61 s32e a0, sp, -16 /* for debug backtrace */
63 s32i a12, sp, XT_STK_A12 /* _xt_context_save requires A12- */
64 s32i a13, sp, XT_STK_A13 /* A13 to have already been saved */
[all …]
/hal_espressif-latest/components/xtensa/include/xtensa/
Dcoreasm.h458 entry sp, 48
468 entry sp, 48
478 entry sp, 16
518 entry sp, 32
522 entry sp, 16
526 entry sp, 48
530 entry sp, 48
535 entry sp, 48
539 entry sp, 32
543 entry sp, 16
[all …]
Dxtensa_context.h391 addi sp, sp, -\size
392 s32i a0, sp, 0
397 l32i a0, sp, 0
398 addi sp, sp, \size
404 #define ENTRY(sz) entry sp, sz
405 #define ENTRY0 entry sp, 0x10
/hal_espressif-latest/components/esp_hw_support/include/
Desp_memory_utils.h312 inline static bool esp_stack_ptr_in_dram(uint32_t sp) in esp_stack_ptr_in_dram() argument
315 return !(sp < SOC_DRAM_LOW + 0x10 || sp > SOC_DRAM_HIGH - 0x10 || ((sp & 0xF) != 0)); in esp_stack_ptr_in_dram()
326 bool esp_stack_ptr_in_extram(uint32_t sp);
337 inline static bool esp_stack_ptr_is_sane(uint32_t sp) in esp_stack_ptr_is_sane() argument
339 return esp_stack_ptr_in_dram(sp) in esp_stack_ptr_is_sane()
341 || esp_stack_ptr_in_extram(sp) in esp_stack_ptr_is_sane()
344 || esp_ptr_in_rtc_dram_fast((void*) sp) in esp_stack_ptr_is_sane()
/hal_espressif-latest/components/newlib/
Dtermios.c24 int cfsetispeed(struct termios *p, speed_t sp) in cfsetispeed() argument
27 p->c_ispeed = sp; in cfsetispeed()
35 int cfsetospeed(struct termios *p, speed_t sp) in cfsetospeed() argument
38 p->c_ospeed = sp; in cfsetospeed()
/hal_espressif-latest/components/esp_system/port/soc/esp32/
Dhighint_hdl.S214 mov a0, sp
215 addi sp, sp, -XT_STK_FRMSZ
216 s32i a0, sp, XT_STK_A1
218 s32e a0, sp, -12 /* for debug backtrace */
221 s32i a0, sp, XT_STK_PS
223 s32i a0, sp, XT_STK_PC
225 s32i a0, sp, XT_STK_A0
227 s32e a0, sp, -16 /* for debug backtrace */
229 s32i a12, sp, XT_STK_A12 /* _xt_context_save requires A12- */
230 s32i a13, sp, XT_STK_A13 /* A13 to have already been saved */
[all …]
/hal_espressif-latest/components/esp_hw_support/
Desp_memory_utils.c71 bool esp_stack_ptr_in_extram(uint32_t sp) in esp_stack_ptr_in_extram() argument
74 return (esp_psram_check_ptr_addr((void *)sp) && ((sp & 0xF) == 0)); in esp_stack_ptr_in_extram()
/hal_espressif-latest/components/xtensa/include/
Dxt_instr_macros.h73 mov sp, \new_sp
85 uint32_t sp = (uint32_t)new_sp - SAVE_AREA_OFFSET; \
86 *(uint32_t*)(sp - BASE_AREA_SP_OFFSET) = (uint32_t)new_sp; \
111 : "+r"(sp), "+r"(tmp1), "+r"(tmp2) : "r"(mask)); \
Dxt_utils.h62 void *sp; in xt_utils_get_sp() local
63 __asm__ volatile ("mov %0, sp;" : "=r" (sp)); in xt_utils_get_sp()
64 return sp; in xt_utils_get_sp()
/hal_espressif-latest/components/bt/controller/esp32/
Dhli_vectors.S165 movi sp, _l4_intr_stack + L4_INTR_STACK_SIZE - 16
166 s32e a0, sp, -12 /* For GDB: set null SP */
167 s32e a0, sp, -16 /* For GDB: set null PC */
176 mov a6, sp
179 l32e sp, sp, -12 /* switch back to the original stack */
/hal_espressif-latest/components/esp_system/port/include/riscv/
Deh_frame_parser_impl.h48 #define EXECUTION_FRAME_SP(frame) ((frame).sp)
53 #define EXECUTION_FRAME_SP_REG (offsetof(RvExcFrame, sp)/sizeof(uint32_t))
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dserial_handler.py76 sp = data.split(console_parser.eol)
79 sp[0] = self._last_line_part + sp[0]
81 if sp[-1] != b'':
83 self._last_line_part = sp.pop()
84 for line in sp:
/hal_espressif-latest/components/esp_system/include/
Desp_debug_helpers.h34 uint32_t sp; /* SP 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/components/riscv/include/riscv/
Drv_utils.h53 void *sp; in rv_utils_get_sp() local
54 asm volatile ("mv %0, sp;" : "=r" (sp)); in rv_utils_get_sp()
55 return sp; in rv_utils_get_sp()
/hal_espressif-latest/components/newlib/platform_include/sys/
Dtermios.h207 int cfsetispeed(struct termios *p, speed_t sp);
218 int cfsetospeed(struct termios *p, speed_t sp);
/hal_espressif-latest/components/esp_rom/patches/
Desp_rom_cache_writeback_esp32s3.S74 entry sp, 32

12