reconcile architectures w/o interrupt controllers

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1153 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-11-07 16:59:36 +00:00
parent eb5a191b24
commit dcca7be53e
14 changed files with 68 additions and 66 deletions
+20
View File
@@ -394,7 +394,9 @@ EXTERN boolean up_interrupt_context(void);
*
****************************************************************************/
#ifndef CONFIG_ARCH_NOINTC
EXTERN void up_enable_irq(int irq);
#endif
/****************************************************************************
* Name: up_disable_irq
@@ -410,7 +412,25 @@ EXTERN void up_enable_irq(int irq);
*
****************************************************************************/
#ifndef CONFIG_ARCH_NOINTC
EXTERN void up_disable_irq(int irq);
#endif
/****************************************************************************
* Name: up_prioritize_irq
*
* Description:
* Set the priority of an IRQ.
*
* Since this API is not supported on all architectures, it should be
* avoided in common implementations where possible.
*
****************************************************************************/
#ifdef CONFIG_ARCH_IRQPRIO
EXTERN int up_prioritize_irq(int irq, int priority);
#endif
/****************************************************************************
* These are standard interfaces that are exported by the OS