esp32[|s2|s3]: adapt to new syscall implementation

Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com>
This commit is contained in:
chenxiaoyi 2024-10-30 20:16:08 +08:00
parent 41a645b682
commit 4d25e861da
3 changed files with 3 additions and 15 deletions

View file

@ -578,11 +578,7 @@ void up_irqinitialize(void)
/* Attach the software interrupt */
irq_attach(XTENSA_IRQ_SWINT, (xcpt_t)xtensa_swint, NULL);
/* Enable the software interrupt. */
up_enable_irq(XTENSA_IRQ_SWINT);
irq_attach(XTENSA_IRQ_SYSCALL, xtensa_swint, NULL);
}
/****************************************************************************

View file

@ -330,11 +330,7 @@ void up_irqinitialize(void)
/* Attach the software interrupt */
irq_attach(XTENSA_IRQ_SWINT, (xcpt_t)xtensa_swint, NULL);
/* Enable the software CPU interrupt. */
up_enable_irq(XTENSA_IRQ_SWINT);
irq_attach(XTENSA_IRQ_SYSCALL, xtensa_swint, NULL);
}
/****************************************************************************

View file

@ -528,11 +528,7 @@ void up_irqinitialize(void)
/* Attach the software interrupt */
irq_attach(XTENSA_IRQ_SWINT, (xcpt_t)xtensa_swint, NULL);
/* Enable the software CPU interrupt. */
up_enable_irq(XTENSA_IRQ_SWINT);
irq_attach(XTENSA_IRQ_SYSCALL, xtensa_swint, NULL);
}
/****************************************************************************