summaryrefslogtreecommitdiff
path: root/nuttx/arch/x86/src/qemu/qemu_irq.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-09 03:41:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-09 03:41:34 +0000
commit500e9b7aa4aa148f86236ff64e5280e50e7ecd1e (patch)
tree00979258f162a1f1c8e81ab2c0cff16c350994ef /nuttx/arch/x86/src/qemu/qemu_irq.c
parent7109c2039470cfc60a375c7478ccebbddb7398a2 (diff)
downloadpx4-nuttx-500e9b7aa4aa148f86236ff64e5280e50e7ecd1e.tar.gz
px4-nuttx-500e9b7aa4aa148f86236ff64e5280e50e7ecd1e.tar.bz2
px4-nuttx-500e9b7aa4aa148f86236ff64e5280e50e7ecd1e.zip
#warning removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3355 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/x86/src/qemu/qemu_irq.c')
-rwxr-xr-xnuttx/arch/x86/src/qemu/qemu_irq.c60
1 files changed, 1 insertions, 59 deletions
diff --git a/nuttx/arch/x86/src/qemu/qemu_irq.c b/nuttx/arch/x86/src/qemu/qemu_irq.c
index be6c4a40e..f266f6714 100755
--- a/nuttx/arch/x86/src/qemu/qemu_irq.c
+++ b/nuttx/arch/x86/src/qemu/qemu_irq.c
@@ -256,64 +256,6 @@ void up_irqinitialize(void)
/* And finally, enable interrupts */
#ifndef CONFIG_SUPPRESS_INTERRUPTS
- irqrestore(0);
+ irqrestore(X86_FLAGS_IF);
#endif
}
-
-/****************************************************************************
- * Name: up_disable_irq
- *
- * Description:
- * Disable the IRQ specified by 'irq'
- *
- ****************************************************************************/
-
-void up_disable_irq(int irq)
-{
-#warning "Missing Logic"
-}
-
-/****************************************************************************
- * Name: up_enable_irq
- *
- * Description:
- * Enable the IRQ specified by 'irq'
- *
- ****************************************************************************/
-
-void up_enable_irq(int irq)
-{
-#warning "Missing Logic"
-}
-
-/****************************************************************************
- * Name: up_maskack_irq
- *
- * Description:
- * Mask the IRQ and acknowledge it
- *
- ****************************************************************************/
-
-void up_maskack_irq(int irq)
-{
-#warning "Missing Logic"
-}
-
-/****************************************************************************
- * 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
-int up_prioritize_irq(int irq, int priority)
-{
-#warning "Missing Logic"
- return OK;
-}
-#endif