diff --git a/arch/arc/core/isr_wrapper.S b/arch/arc/core/isr_wrapper.S index c6f63068470..c6d32dc6557 100644 --- a/arch/arc/core/isr_wrapper.S +++ b/arch/arc/core/isr_wrapper.S @@ -61,9 +61,6 @@ IRQ stack frame layout: status32 pc - [jli_base] - [ldi_base] - [ei_base] lp_count lp_start lp_end @@ -74,7 +71,12 @@ IRQ stack frame layout: low address - [registers not taken into account in the current implementation] +Registers not taken into account in the current implementation. + jli_base + ldi_base + ei_base + accl + acch The context switch code adopts this standard so that it is easier to follow: diff --git a/arch/arc/include/v2/irq.h b/arch/arc/include/v2/irq.h index 7879c3fee45..494b5eb697b 100644 --- a/arch/arc/include/v2/irq.h +++ b/arch/arc/include/v2/irq.h @@ -31,6 +31,7 @@ extern "C" { #define _ARC_V2_AUX_IRQ_CTRL_BLINK (1 << 9) #define _ARC_V2_AUX_IRQ_CTRL_LOOP_REGS (1 << 10) +#define _ARC_V2_AUX_IRQ_CTRL_LP (1 << 13) #define _ARC_V2_AUX_IRQ_CTRL_14_REGS 7 #define _ARC_V2_AUX_IRQ_CTRL_16_REGS 8 #define _ARC_V2_AUX_IRQ_CTRL_32_REGS 16