Home
last modified time | relevance | path

Searched refs:esf_copy (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.4.0/arch/arm/core/aarch32/
Dfatal.c110 z_arch_esf_t esf_copy; in z_do_kernel_oops() local
112 memcpy(&esf_copy, esf, offsetof(z_arch_esf_t, extra_info)); in z_do_kernel_oops()
118 esf_copy.extra_info = (struct __extra_esf_info) { in z_do_kernel_oops()
126 esf_copy.extra_info = (struct __extra_esf_info) { 0 }; in z_do_kernel_oops()
129 z_arm_fatal_error(reason, &esf_copy); in z_do_kernel_oops()
/Zephyr-Core-3.4.0/arch/arm/core/aarch32/cortex_m/
Dfault.c1078 z_arch_esf_t esf_copy; local
1101 memcpy(&esf_copy, esf, sizeof(z_arch_esf_t));
1107 memcpy(&esf_copy, esf, offsetof(z_arch_esf_t, extra_info));
1108 esf_copy.extra_info = (struct __extra_esf_info) {
1121 if ((esf_copy.basic.xpsr & IPSR_ISR_Msk) == 0) {
1122 esf_copy.basic.xpsr |= IPSR_ISR_Msk;
1125 esf_copy.basic.xpsr &= ~(IPSR_ISR_Msk);
1132 z_arm_fatal_error(reason, &esf_copy);