diff --git a/soc/nordic/common/vpr/soc_context.h b/soc/nordic/common/vpr/soc_context.h index 9735057e792..2aba882afd7 100644 --- a/soc/nordic/common/vpr/soc_context.h +++ b/soc/nordic/common/vpr/soc_context.h @@ -8,14 +8,9 @@ #define SOC_ESF_MEMBERS \ unsigned long minttresh; \ - unsigned long sp_align; \ - unsigned long padding0; \ - unsigned long padding1; \ - unsigned long padding2 + unsigned long sp_align; #define SOC_ESF_INIT \ - 0, \ - 0, \ 0, \ 0 diff --git a/soc/nordic/common/vpr/soc_isr_stacking.h b/soc/nordic/common/vpr/soc_isr_stacking.h index 8d2f64ad729..014ae1296a0 100644 --- a/soc/nordic/common/vpr/soc_isr_stacking.h +++ b/soc/nordic/common/vpr/soc_isr_stacking.h @@ -20,7 +20,6 @@ struct arch_esf { \ unsigned long s0; \ unsigned long mstatus; \ - unsigned long tp; \ struct soc_esf soc_context; \ \ unsigned long t2; \ @@ -43,7 +42,6 @@ struct arch_esf { \ unsigned long s0; \ unsigned long mstatus; \ - unsigned long tp; \ struct soc_esf soc_context; \ \ unsigned long ra; \ @@ -79,7 +77,7 @@ * Size of the SW managed part of the ESF in case of interrupt * sizeof(__padding) + ... + sizeof(soc_context) */ -#define ESF_SW_IRQ_SIZEOF (0x20) +#define ESF_SW_IRQ_SIZEOF (0x10) /* * VPR needs aligned(8) SP when doing HW stacking, if this condition is not fulfilled it will move