Home
last modified time | relevance | path

Searched refs:bsa (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.6.0/arch/xtensa/core/
Dvector_handlers.c38 _xtensa_irq_bsa_t *bsa = frame->ptr_to_bsa; in xtensa_dump_stack() local
43 num_high_regs = (uint8_t *)bsa - (uint8_t *)frame + sizeof(void *); in xtensa_dump_stack()
50 (void *)bsa->a0, in xtensa_dump_stack()
51 (void *)((char *)bsa + sizeof(*bsa)), in xtensa_dump_stack()
52 (void *)bsa->a2, (void *)bsa->a3); in xtensa_dump_stack()
86 (void *)bsa->lbeg, in xtensa_dump_stack()
87 (void *)bsa->lend, in xtensa_dump_stack()
88 (void *)bsa->lcount); in xtensa_dump_stack()
91 LOG_ERR(" ** SAR %p", (void *)bsa->sar); in xtensa_dump_stack()
94 LOG_ERR(" ** THREADPTR %p", (void *)bsa->threadptr); in xtensa_dump_stack()
[all …]
Dcoredump.c133 _xtensa_irq_bsa_t *bsa = frame->ptr_to_bsa; in arch_coredump_info_dump() local
138 num_high_regs = (uint8_t *)bsa - (uint8_t *)frame + sizeof(void *); in arch_coredump_info_dump()
144 arch_blk.r.pc = bsa->pc; in arch_coredump_info_dump()
146 arch_blk.r.ps = bsa->ps; in arch_coredump_info_dump()
148 arch_blk.r.scompare1 = bsa->scompare1; in arch_coredump_info_dump()
150 arch_blk.r.sar = bsa->sar; in arch_coredump_info_dump()
151 arch_blk.r.a0 = bsa->a0; in arch_coredump_info_dump()
152 arch_blk.r.a1 = (uint32_t)((char *)bsa) + sizeof(*bsa); in arch_coredump_info_dump()
153 arch_blk.r.a2 = bsa->a2; in arch_coredump_info_dump()
154 arch_blk.r.a3 = bsa->a3; in arch_coredump_info_dump()
[all …]
Dthread.c72 frame->bsa.ps = PS_WOE | PS_UM | PS_CALLINC(1); in init_stack()
75 frame->bsa.pc = (uintptr_t)arch_user_mode_enter; in init_stack()
77 frame->bsa.pc = (uintptr_t)z_thread_entry; in init_stack()
80 frame->bsa.pc = (uintptr_t)z_thread_entry; in init_stack()
85 frame->bsa.threadptr = thread->tls; in init_stack()
87 frame->bsa.threadptr = (uintptr_t)((thread->base.user_options & K_USER) ? thread : NULL); in init_stack()
109 frame->ptr_to_bsa = (void *)&frame->bsa; in init_stack()
Dgdbstub.c430 uint32_t *bsa = *(int **)stack; in copy_to_ctx() local
432 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() local
523 if ((int *)bsa - stack > 4) { in restore_from_ctx()
525 } else if ((int *)bsa - stack > 8) { in restore_from_ctx()
[all …]
/Zephyr-Core-3.6.0/arch/xtensa/include/
Dxtensa_asm2_context.h182 _xtensa_irq_bsa_t bsa; member
203 _xtensa_irq_bsa_t bsa; member
219 _xtensa_irq_bsa_t bsa; member
230 _xtensa_irq_bsa_t bsa; member