/Zephyr-latest/arch/mips/core/offsets/ |
D | offsets.c | 26 GEN_OFFSET_STRUCT(arch_esf, ra); 27 GEN_OFFSET_STRUCT(arch_esf, gp); 28 GEN_OFFSET_STRUCT(arch_esf, t0); 29 GEN_OFFSET_STRUCT(arch_esf, t1); 30 GEN_OFFSET_STRUCT(arch_esf, t2); 31 GEN_OFFSET_STRUCT(arch_esf, t3); 32 GEN_OFFSET_STRUCT(arch_esf, t4); 33 GEN_OFFSET_STRUCT(arch_esf, t5); 34 GEN_OFFSET_STRUCT(arch_esf, t6); 35 GEN_OFFSET_STRUCT(arch_esf, t7); [all …]
|
/Zephyr-latest/arch/nios2/core/offsets/ |
D | offsets.c | 47 GEN_OFFSET_STRUCT(arch_esf, ra); 48 GEN_OFFSET_STRUCT(arch_esf, r1); 49 GEN_OFFSET_STRUCT(arch_esf, r2); 50 GEN_OFFSET_STRUCT(arch_esf, r3); 51 GEN_OFFSET_STRUCT(arch_esf, r4); 52 GEN_OFFSET_STRUCT(arch_esf, r5); 53 GEN_OFFSET_STRUCT(arch_esf, r6); 54 GEN_OFFSET_STRUCT(arch_esf, r7); 55 GEN_OFFSET_STRUCT(arch_esf, r8); 56 GEN_OFFSET_STRUCT(arch_esf, r9); [all …]
|
/Zephyr-latest/arch/riscv/core/offsets/ |
D | offsets.c | 92 GEN_OFFSET_STRUCT(arch_esf, ra); 93 GEN_OFFSET_STRUCT(arch_esf, t0); 94 GEN_OFFSET_STRUCT(arch_esf, t1); 95 GEN_OFFSET_STRUCT(arch_esf, t2); 96 GEN_OFFSET_STRUCT(arch_esf, a0); 97 GEN_OFFSET_STRUCT(arch_esf, a1); 98 GEN_OFFSET_STRUCT(arch_esf, a2); 99 GEN_OFFSET_STRUCT(arch_esf, a3); 100 GEN_OFFSET_STRUCT(arch_esf, a4); 101 GEN_OFFSET_STRUCT(arch_esf, a5); [all …]
|
/Zephyr-latest/arch/sparc/core/offsets/ |
D | offsets.c | 34 GEN_OFFSET_STRUCT(arch_esf, out); 35 GEN_OFFSET_STRUCT(arch_esf, global); 36 GEN_OFFSET_STRUCT(arch_esf, npc); 37 GEN_OFFSET_STRUCT(arch_esf, psr); 38 GEN_OFFSET_STRUCT(arch_esf, tbr); 39 GEN_ABSOLUTE_SYM(__struct_arch_esf_SIZEOF, sizeof(struct arch_esf));
|
/Zephyr-latest/arch/arm/core/cortex_m/ |
D | fault.c | 101 static void fault_show(const struct arch_esf *esf, int fault) in fault_show() 120 static void fault_show(const struct arch_esf *esf, int fault) in fault_show() 140 static bool memory_fault_recoverable(struct arch_esf *esf, bool synchronous) in memory_fault_recoverable() 183 static uint32_t mem_manage_fault(struct arch_esf *esf, int from_hard_fault, in mem_manage_fault() 342 static int bus_fault(struct arch_esf *esf, int from_hard_fault, bool *recoverable) in bus_fault() 504 static uint32_t usage_fault(const struct arch_esf *esf) in usage_fault() 567 static uint32_t secure_fault(const struct arch_esf *esf) in secure_fault() 616 static void debug_monitor(struct arch_esf *esf, bool *recoverable) in debug_monitor() 642 static inline bool z_arm_is_synchronous_svc(struct arch_esf *esf) in z_arm_is_synchronous_svc() 717 static uint32_t hard_fault(struct arch_esf *esf, bool *recoverable) in hard_fault() [all …]
|
/Zephyr-latest/arch/x86/include/ |
D | kernel_arch_func.h | 52 const struct arch_esf *esf); 58 const struct arch_esf *esf); 61 void z_x86_page_fault_handler(struct arch_esf *esf); 93 void z_x86_do_kernel_oops(const struct arch_esf *esf);
|
/Zephyr-latest/arch/arm/include/cortex_a_r/ |
D | exception.h | 41 static ALWAYS_INLINE bool arch_is_in_nested_exception(const struct arch_esf *esf) in arch_is_in_nested_exception() 52 static ALWAYS_INLINE void z_arm_set_fault_sp(const struct arch_esf *esf, uint32_t exc_return) in z_arm_set_fault_sp() 60 static ALWAYS_INLINE bool z_arm_preempted_thread_in_user_mode(const struct arch_esf *esf) in z_arm_preempted_thread_in_user_mode()
|
/Zephyr-latest/arch/sparc/core/ |
D | fatal.c | 125 static void print_trap_type(const struct arch_esf *esf) in print_trap_type() 145 static void print_integer_registers(const struct arch_esf *esf) in print_integer_registers() 162 static void print_special_registers(const struct arch_esf *esf) in print_special_registers() 171 static void print_backtrace(const struct arch_esf *esf) in print_backtrace() 193 static void print_all(const struct arch_esf *esf) in print_all() 208 const struct arch_esf *esf) in z_sparc_fatal_error()
|
/Zephyr-latest/arch/mips/core/ |
D | thread.c | 22 struct arch_esf *stack_init; in arch_new_thread() 25 stack_init = (struct arch_esf *)Z_STACK_PTR_ALIGN( in arch_new_thread() 26 Z_STACK_PTR_TO_FRAME(struct arch_esf, stack_ptr) in arch_new_thread()
|
D | fatal.c | 12 const struct arch_esf *esf) in z_mips_fatal_error() 87 void _Fault(struct arch_esf *esf) in _Fault()
|
/Zephyr-latest/arch/x86/core/ |
D | fatal.c | 38 static inline uintptr_t esf_get_sp(const struct arch_esf *esf) in esf_get_sp() 130 const struct arch_esf *esf, int max_frames) in walk_stackframe() 188 const struct k_thread *thread, const struct arch_esf *esf) in arch_stack_walk() 211 static ALWAYS_INLINE void unwind_stack(const struct arch_esf *esf) in unwind_stack() 220 static inline uintptr_t esf_get_code(const struct arch_esf *esf) in esf_get_code() 229 static inline uintptr_t get_cr3(const struct arch_esf *esf) in get_cr3() 247 static inline pentry_t *get_ptables(const struct arch_esf *esf) in get_ptables() 254 static void dump_regs(const struct arch_esf *esf) in dump_regs() 271 static void dump_regs(const struct arch_esf *esf) in dump_regs() 356 static void dump_page_fault(struct arch_esf *esf) in dump_page_fault() [all …]
|
/Zephyr-latest/arch/arm/core/ |
D | fatal.c | 21 static void esf_dump(const struct arch_esf *esf) in esf_dump() 69 void z_arm_fatal_error(unsigned int reason, const struct arch_esf *esf) in z_arm_fatal_error() 106 void z_do_kernel_oops(const struct arch_esf *esf, _callee_saved_t *callee_regs, uint32_t exc_return) in z_do_kernel_oops() 136 struct arch_esf esf_copy; in z_do_kernel_oops() 138 memcpy(&esf_copy, esf, offsetof(struct arch_esf, extra_info)); in z_do_kernel_oops() 162 struct arch_esf oops_esf = { 0 }; in arch_syscall_oops()
|
/Zephyr-latest/include/zephyr/ |
D | fatal.h | 68 void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *esf); 84 void z_fatal_error(unsigned int reason, const struct arch_esf *esf);
|
/Zephyr-latest/arch/riscv/core/ |
D | fatal.c | 32 void z_riscv_unwind_stack(const struct arch_esf *esf, const _callee_saved_t *csf); 34 uintptr_t z_riscv_get_sp_before_exc(const struct arch_esf *esf) in z_riscv_get_sp_before_exc() 40 uintptr_t sp = (uintptr_t)esf + sizeof(struct arch_esf); in z_riscv_get_sp_before_exc() 81 const struct arch_esf *esf) in z_riscv_fatal_error() 86 FUNC_NORETURN void z_riscv_fatal_error_csf(unsigned int reason, const struct arch_esf *esf, in z_riscv_fatal_error_csf() 151 static bool bad_stack_pointer(struct arch_esf *esf) in bad_stack_pointer() 158 uintptr_t sp = (uintptr_t)esf + sizeof(struct arch_esf); in bad_stack_pointer() 206 void _Fault(struct arch_esf *esf) in _Fault() 249 struct arch_esf *oops_esf = arch_current_thread()->syscall_frame; in z_impl_user_fault()
|
D | stacktrace.c | 15 uintptr_t z_riscv_get_sp_before_exc(const struct arch_esf *esf); 26 typedef bool (*stack_verify_fn)(uintptr_t, const struct k_thread *const, const struct arch_esf *); 74 const struct arch_esf *esf) in in_stack_bound() 100 const struct arch_esf *esf, stack_verify_fn vrfy, in walk_stackframe() 173 const struct arch_esf *esf, stack_verify_fn vrfy, in walk_stackframe() 209 ra = ((struct arch_esf *)ksp++)->ra; in walk_stackframe() 215 const struct k_thread *thread, const struct arch_esf *esf) in arch_stack_walk() 230 const struct arch_esf *esf) in in_fatal_stack_bound() 280 void z_riscv_unwind_stack(const struct arch_esf *esf, const _callee_saved_t *csf) in z_riscv_unwind_stack()
|
/Zephyr-latest/arch/x86/core/ia32/ |
D | fatal.c | 30 __weak void z_debug_fatal_hook(const struct arch_esf *esf) { ARG_UNUSED(esf); } in z_debug_fatal_hook() 33 void z_x86_spurious_irq(const struct arch_esf *esf) in z_x86_spurious_irq() 49 struct arch_esf oops = { in arch_syscall_oops() 69 const struct arch_esf *pEsf) in generic_exc_handle() 80 FUNC_NORETURN __used static void handle_exc_##vector(const struct arch_esf *pEsf) \ 123 static __pinned_noinit volatile struct arch_esf _df_esf; 185 z_x86_fatal_error(reason, (struct arch_esf *)&_df_esf); in df_handler_bottom()
|
/Zephyr-latest/arch/x86/core/intel64/ |
D | fatal.c | 16 __weak bool z_x86_do_kernel_nmi(const struct arch_esf *esf) in z_x86_do_kernel_nmi() 23 void z_x86_exception(struct arch_esf *esf) in z_x86_exception()
|
/Zephyr-latest/arch/arm64/core/ |
D | fatal.c | 186 static void esf_dump(const struct arch_esf *esf) in esf_dump() 204 static void walk_stackframe(arm64_stacktrace_cb cb, void *cookie, const struct arch_esf *esf, in walk_stackframe() 246 const struct k_thread *thread, const struct arch_esf *esf) in arch_stack_walk() 272 static void esf_unwind(const struct arch_esf *esf) in esf_unwind() 284 static bool z_arm64_stack_corruption_check(struct arch_esf *esf, uint64_t esr, uint64_t far) in z_arm64_stack_corruption_check() 325 static bool is_recoverable(struct arch_esf *esf, uint64_t esr, uint64_t far, in is_recoverable() 348 void z_arm64_fatal_error(unsigned int reason, struct arch_esf *esf) in z_arm64_fatal_error() 428 void z_arm64_do_kernel_oops(struct arch_esf *esf) in z_arm64_do_kernel_oops()
|
/Zephyr-latest/arch/arm/include/cortex_m/ |
D | exception.h | 119 static ALWAYS_INLINE bool arch_is_in_nested_exception(const struct arch_esf *esf) in arch_is_in_nested_exception() 131 static ALWAYS_INLINE bool z_arm_preempted_thread_in_user_mode(const struct arch_esf *esf) in z_arm_preempted_thread_in_user_mode() 241 static ALWAYS_INLINE void z_arm_set_fault_sp(const struct arch_esf *esf, uint32_t exc_return) in z_arm_set_fault_sp()
|
/Zephyr-latest/subsys/profiling/perf/backends/ |
D | perf_riscv.c | 44 const struct arch_esf * const esf = in arch_perf_current_stack_trace() 45 *((struct arch_esf **)(((uintptr_t)_current_cpu->irq_stack) - 16)); in arch_perf_current_stack_trace()
|
/Zephyr-latest/tests/bluetooth/audio/mocks/src/ |
D | fatal.c | 10 void z_fatal_error(unsigned int reason, const struct arch_esf *esf) in z_fatal_error()
|
/Zephyr-latest/arch/arc/core/ |
D | fatal.c | 26 static void dump_arc_esf(const struct arch_esf *esf) in dump_arc_esf() 45 void z_arc_fatal_error(unsigned int reason, const struct arch_esf *esf) in z_arc_fatal_error()
|
/Zephyr-latest/subsys/testsuite/ztest/src/ |
D | ztest_error_hook.c | 45 const struct arch_esf *pEsf) in ztest_post_fatal_error_hook() 49 void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *pEsf) in k_sys_fatal_error_handler()
|
/Zephyr-latest/include/zephyr/arch/xtensa/ |
D | exception.h | 28 struct arch_esf { struct
|
/Zephyr-latest/include/zephyr/arch/posix/ |
D | exception.h | 18 struct arch_esf { struct
|