Home
last modified time | relevance | path

Searched defs:esf (Results 1 – 25 of 45) sorted by relevance

12

/Zephyr-latest/arch/x86/core/
Dfatal.c38 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/include/cortex_a_r/
Dexception.h41 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/
Dfatal.c125 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/arm/core/cortex_m/
Dfault.c101 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/arm64/core/
Dfatal.c186 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()
Dfpu.c162 static bool simulate_str_q_insn(struct arch_esf *esf) in simulate_str_q_insn()
224 void z_arm64_fpu_trap(struct arch_esf *esf) in z_arm64_fpu_trap()
/Zephyr-latest/arch/x86/core/intel64/
Dfatal.c16 __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/riscv/core/
Dfatal.c34 uintptr_t z_riscv_get_sp_before_exc(const struct arch_esf *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()
206 void _Fault(struct arch_esf *esf) in _Fault()
Dstacktrace.c74 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()
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()
Dfpu.c207 void z_riscv_fpu_trap(struct arch_esf *esf) in z_riscv_fpu_trap()
296 void z_riscv_fpu_exit_exc(struct arch_esf *esf) in z_riscv_fpu_exit_exc()
/Zephyr-latest/arch/mips/core/
Dfatal.c12 const struct arch_esf *esf) in z_mips_fatal_error()
87 void _Fault(struct arch_esf *esf) in _Fault()
/Zephyr-latest/arch/arm/core/
Dfatal.c21 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()
/Zephyr-latest/arch/arc/core/
Dfatal.c26 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/arch/nios2/core/
Dfatal.c15 const struct arch_esf *esf) in z_nios2_fatal_error()
105 FUNC_NORETURN void _Fault(const struct arch_esf *esf) in _Fault()
/Zephyr-latest/arch/arm/core/cortex_a_r/
Dfault.c211 bool z_arm_fault_undef_instruction(struct arch_esf *esf) in z_arm_fault_undef_instruction()
248 bool z_arm_fault_prefetch(struct arch_esf *esf) in z_arm_fault_prefetch()
304 static bool memory_fault_recoverable(struct arch_esf *esf) in memory_fault_recoverable()
326 bool z_arm_fault_data(struct arch_esf *esf) in z_arm_fault_data()
/Zephyr-latest/kernel/
Dfatal.c38 const struct arch_esf *esf) in k_sys_fatal_error_handler()
85 void z_fatal_error(unsigned int reason, const struct arch_esf *esf) in z_fatal_error()
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Dfatal.c10 void z_fatal_error(unsigned int reason, const struct arch_esf *esf) in z_fatal_error()
/Zephyr-latest/arch/x86/core/ia32/
Dgdbstub.c81 static void z_gdb_interrupt(unsigned int vector, struct arch_esf *esf) in z_gdb_interrupt()
215 static __used void z_gdb_debug_isr(struct arch_esf *esf) in z_gdb_debug_isr()
228 static __used void z_gdb_break_isr(struct arch_esf *esf) in z_gdb_break_isr()
Dfatal.c30 __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()
/Zephyr-latest/arch/arm/include/cortex_m/
Dexception.h119 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/tests/arch/x86/nmi/src/
Dmain.c38 bool z_x86_do_kernel_nmi(const struct arch_esf *esf) in z_x86_do_kernel_nmi()
/Zephyr-latest/subsys/profiling/perf/backends/
Dperf_riscv.c44 const struct arch_esf * const esf = in arch_perf_current_stack_trace() local
/Zephyr-latest/arch/xtensa/core/
Dfatal.c87 void xtensa_fatal_error(unsigned int reason, const struct arch_esf *esf) in xtensa_fatal_error()
/Zephyr-latest/tests/kernel/threads/thread_apis/src/
Dtest_essential_thread.c64 const struct arch_esf *esf) in k_sys_fatal_error_handler()
/Zephyr-latest/tests/arch/x86/static_idt/src/
Dmain.c50 void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *esf) in k_sys_fatal_error_handler()

12