summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/irq/irq.h
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2007-11-30 21:40:12 +0000
committerTill Straumann <strauman@slac.stanford.edu>2007-11-30 21:40:12 +0000
commit2eb9e3995c6ff0a76cf857d1032c79cf08ebbd30 (patch)
treefde1f1479f6358f78f4cd6524a4da25cf92bb919 /c/src/lib/libbsp/powerpc/shared/irq/irq.h
parent2007-11-30 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-2eb9e3995c6ff0a76cf857d1032c79cf08ebbd30.tar.bz2
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq.h, shared/irq/irq.c, shared/irq/irq_init.c, shared/irq/irq_supp.h (added): Removed 'is_processor_irq()' from irq.c; the BSP routines BSP_enable_irq_at_pic()/BSP_disable_irq_at_pic() are required to ignore processor irqs anyways. Removed all BSP-defined constants from irq.c. This makes irq.c (almost) binary-compatible among BSPs (ultimate goal is making 'shared' a library). Added a header (irq_supp.h) defining the interface between the generic interrupt manager (irq.c) and the routines it requires to be supplied by the BSP (eventually, these should go into rtems/irq.h).
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/irq/irq.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/irq/irq.h b/c/src/lib/libbsp/powerpc/shared/irq/irq.h
index b1f3d26047..78ac3b7def 100644
--- a/c/src/lib/libbsp/powerpc/shared/irq/irq.h
+++ b/c/src/lib/libbsp/powerpc/shared/irq/irq.h
@@ -181,14 +181,9 @@ int BSP_irq_enabled_at_i8259s (const rtems_irq_number irqLine);
extern void BSP_rtems_irq_mng_init(unsigned cpuId);
extern void BSP_i8259s_init(void);
-/*
- * PIC-independent function to enable/disable interrupt lines at
- * the pic.
- */
-extern void BSP_enable_irq_at_pic (const rtems_irq_number irqLine);
-extern void BSP_disable_irq_at_pic (const rtems_irq_number irqLine);
+/* Stuff in irq_supp.h should eventually go into <rtems/irq.h> */
+#include <bsp/irq_supp.h>
-extern int BSP_setup_the_pic (rtems_irq_global_settings* config);
#ifdef __cplusplus
};
#endif