Searched refs:bsa (Results 1 – 6 of 6) sorted by relevance
107 _xtensa_irq_bsa_t *bsa; in xtensa_is_frame_pointer_valid() local120 bsa = frame->ptr_to_bsa; in xtensa_is_frame_pointer_valid()121 if (xtensa_is_outside_stack_bounds((uintptr_t)bsa, sizeof(*bsa), UINT32_MAX)) { in xtensa_is_frame_pointer_valid()130 if (xtensa_is_outside_stack_bounds((uintptr_t)frame, sizeof(*frame), bsa->ps)) { in xtensa_is_frame_pointer_valid()141 _xtensa_irq_bsa_t *bsa; in xtensa_dump_stack() local153 bsa = frame->ptr_to_bsa; in xtensa_dump_stack()156 num_high_regs = (uint8_t *)bsa - (uint8_t *)frame + sizeof(void *); in xtensa_dump_stack()163 (void *)bsa->a0, in xtensa_dump_stack()164 (void *)((char *)bsa + sizeof(*bsa)), in xtensa_dump_stack()165 (void *)bsa->a2, (void *)bsa->a3); in xtensa_dump_stack()[all …]
134 _xtensa_irq_bsa_t *bsa = frame->ptr_to_bsa; in arch_coredump_info_dump() local139 num_high_regs = (uint8_t *)bsa - (uint8_t *)frame + sizeof(void *); in arch_coredump_info_dump()145 arch_blk.r.pc = bsa->pc; in arch_coredump_info_dump()147 arch_blk.r.ps = bsa->ps; in arch_coredump_info_dump()149 arch_blk.r.scompare1 = bsa->scompare1; in arch_coredump_info_dump()151 arch_blk.r.sar = bsa->sar; in arch_coredump_info_dump()152 arch_blk.r.a0 = bsa->a0; in arch_coredump_info_dump()153 arch_blk.r.a1 = (uint32_t)((char *)bsa) + sizeof(*bsa); in arch_coredump_info_dump()154 arch_blk.r.a2 = bsa->a2; in arch_coredump_info_dump()155 arch_blk.r.a3 = bsa->a3; in arch_coredump_info_dump()[all …]
73 frame->bsa.ps = PS_WOE | PS_UM | PS_CALLINC(1); in init_stack()88 frame->bsa.pc = (uintptr_t)arch_user_mode_enter; in init_stack()90 frame->bsa.pc = (uintptr_t)z_thread_entry; in init_stack()93 frame->bsa.pc = (uintptr_t)z_thread_entry; in init_stack()98 frame->bsa.threadptr = thread->tls; in init_stack()100 frame->bsa.threadptr = (uintptr_t)((thread->base.user_options & K_USER) ? thread : NULL); in init_stack()122 frame->ptr_to_bsa = (void *)&frame->bsa; in init_stack()
430 uint32_t *bsa = *(int **)stack; in copy_to_ctx() local432 if ((int *)bsa - stack > 4) { in copy_to_ctx()434 } else if ((int *)bsa - stack > 8) { in copy_to_ctx()436 } else if ((int *)bsa - stack > 12) { in copy_to_ctx()449 ((char *)bsa) + BASE_SAVE_AREA_SIZE); in copy_to_ctx()452 reg->val = bsa[reg->stack_offset / 4]; in copy_to_ctx()466 reg->val = bsa[reg->stack_offset / 4]; in copy_to_ctx()521 _xtensa_irq_bsa_t *bsa = (void *)*(int **)stack; in restore_from_ctx() local523 if ((int *)bsa - stack > 4) { in restore_from_ctx()525 } else if ((int *)bsa - stack > 8) { in restore_from_ctx()[all …]
116 _xtensa_irq_bsa_t *bsa; in xtensa_backtrace_print() local127 bsa = frame->ptr_to_bsa; in xtensa_backtrace_print()128 cause = bsa->exccause; in xtensa_backtrace_print()
199 _xtensa_irq_bsa_t bsa; member220 _xtensa_irq_bsa_t bsa; member236 _xtensa_irq_bsa_t bsa; member247 _xtensa_irq_bsa_t bsa; member