esp32[|s2|s3]: adapt to new syscall implementation
Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com>
This commit is contained in:
parent
aa426d1edb
commit
ad8902a33e
3 changed files with 3 additions and 15 deletions
|
@ -578,11 +578,7 @@ void up_irqinitialize(void)
|
||||||
|
|
||||||
/* Attach the software interrupt */
|
/* Attach the software interrupt */
|
||||||
|
|
||||||
irq_attach(XTENSA_IRQ_SWINT, (xcpt_t)xtensa_swint, NULL);
|
irq_attach(XTENSA_IRQ_SYSCALL, xtensa_swint, NULL);
|
||||||
|
|
||||||
/* Enable the software interrupt. */
|
|
||||||
|
|
||||||
up_enable_irq(XTENSA_IRQ_SWINT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|
|
@ -330,11 +330,7 @@ void up_irqinitialize(void)
|
||||||
|
|
||||||
/* Attach the software interrupt */
|
/* Attach the software interrupt */
|
||||||
|
|
||||||
irq_attach(XTENSA_IRQ_SWINT, (xcpt_t)xtensa_swint, NULL);
|
irq_attach(XTENSA_IRQ_SYSCALL, xtensa_swint, NULL);
|
||||||
|
|
||||||
/* Enable the software CPU interrupt. */
|
|
||||||
|
|
||||||
up_enable_irq(XTENSA_IRQ_SWINT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|
|
@ -528,11 +528,7 @@ void up_irqinitialize(void)
|
||||||
|
|
||||||
/* Attach the software interrupt */
|
/* Attach the software interrupt */
|
||||||
|
|
||||||
irq_attach(XTENSA_IRQ_SWINT, (xcpt_t)xtensa_swint, NULL);
|
irq_attach(XTENSA_IRQ_SYSCALL, xtensa_swint, NULL);
|
||||||
|
|
||||||
/* Enable the software CPU interrupt. */
|
|
||||||
|
|
||||||
up_enable_irq(XTENSA_IRQ_SWINT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|
Loading…
Reference in a new issue