include/nuttx/arch.h: Add prototype for an architecture-specific up_trigger_irq function

This commit is contained in:
dongjianli 2018-08-24 08:24:38 -06:00 committed by Gregory Nutt
parent 36b46a6a40
commit 0df5e56e20
2 changed files with 17 additions and 0 deletions

View file

@ -149,6 +149,11 @@ config ARCH_VECNOTIRQ
bool
default n
config ARCH_HAVE_TRIGGER_HOOK
bool
default n
depends on !ARCH_NOINTC
config ARCH_DMA
bool
default n

View file

@ -1389,6 +1389,18 @@ void up_enable_irq(int irq);
void up_disable_irq(int irq);
#endif
/****************************************************************************
* Name: up_trigger_irq
*
* Description:
* Trigger an IRQ by software. May not be supported by all architectures.
*
****************************************************************************/
#ifdef CONFIG_ARCH_HAVE_TRIGGER_HOOK
void up_trigger_irq(int irq);
#endif
/****************************************************************************
* Name: up_prioritize_irq
*