mirror of
https://github.com/apache/nuttx.git
synced 2025-01-12 22:08:35 +08:00
esp32[|s2|s3]: adapt to new syscall implementation
Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com>
This commit is contained in:
parent
41a645b682
commit
4d25e861da
3 changed files with 3 additions and 15 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in a new issue