esp32_intercpu_interrupt.c: Force the functions to internal SRAM.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
d2bc011719
commit
f2c2323642
@ -48,7 +48,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int esp32_fromcpu_interrupt(int fromcpu)
|
||||
static int IRAM_ATTR esp32_fromcpu_interrupt(int fromcpu)
|
||||
{
|
||||
uintptr_t regaddr;
|
||||
|
||||
@ -80,12 +80,12 @@ static int esp32_fromcpu_interrupt(int fromcpu)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int esp32_fromcpu0_interrupt(int irq, void *context, void *arg)
|
||||
int IRAM_ATTR esp32_fromcpu0_interrupt(int irq, void *context, void *arg)
|
||||
{
|
||||
return esp32_fromcpu_interrupt(0);
|
||||
}
|
||||
|
||||
int esp32_fromcpu1_interrupt(int irq, void *context, void *arg)
|
||||
int IRAM_ATTR esp32_fromcpu1_interrupt(int irq, void *context, void *arg)
|
||||
{
|
||||
return esp32_fromcpu_interrupt(1);
|
||||
}
|
||||
@ -98,7 +98,7 @@ int esp32_fromcpu1_interrupt(int irq, void *context, void *arg)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int xtensa_intercpu_interrupt(int tocpu, int intcode)
|
||||
int IRAM_ATTR xtensa_intercpu_interrupt(int tocpu, int intcode)
|
||||
{
|
||||
int fromcpu;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user