summaryrefslogtreecommitdiff
path: root/include/irq.h
diff options
context:
space:
mode:
authorAndrew Boie <andrew.p.boie@intel.com>2016-08-01 16:30:09 -0700
committerAndrew Boie <andrew.p.boie@intel.com>2016-09-06 16:16:00 +0000
commit4909bf3c22b382eac70757f92f267ba5d66c6c4f (patch)
tree40fd4e1fb8166cbe60af320e12a5edbab00e6259 /include/irq.h
parent7d432bbd0afcb6607262b58ebe4c8fdc8ac57ca1 (diff)
zephyr: remove deprecated dynamic interrupt API
Change-Id: I65b1248988ac384f542a3a685b51b1145cee30b3 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Diffstat (limited to 'include/irq.h')
-rw-r--r--include/irq.h28
1 files changed, 1 insertions, 27 deletions
diff --git a/include/irq.h b/include/irq.h
index 213cc4f27..bbcd9212b 100644
--- a/include/irq.h
+++ b/include/irq.h
@@ -33,8 +33,7 @@ extern "C" {
/**
* Configure a static interrupt.
*
- * All arguments must be computable by the compiler at build time; if this
- * can't be done use irq_connect_dynamic() instead.
+ * All arguments must be computable by the compiler at build time.
*
* @param irq_p IRQ line number
* @param priority_p Interrupt priority
@@ -48,31 +47,6 @@ extern "C" {
_ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
/**
- * Configure a dynamic interrupt.
- *
- * @param irq IRQ line number
- * @param priority Interrupt priority
- * @param routine Interrupt service routine
- * @param parameter ISR parameter
- * @param flags Arch-specific IRQ configuration flags
- *
- * @return The vector assigned to this interrupt
- */
-extern int _arch_irq_connect_dynamic(unsigned int irq, unsigned int priority,
- void (*routine)(void *parameter), void *parameter,
- uint32_t flags);
-
-static inline int __deprecated
-irq_connect_dynamic(unsigned int irq, unsigned int priority,
- void (*routine)(void *parameter), void *parameter,
- uint32_t flags)
-{
- return _arch_irq_connect_dynamic(irq, priority, routine, parameter, flags);
-}
-
-
-
-/**
* @brief Disable all interrupts on the CPU (inline)
*
* This routine disables interrupts. It can be called from either interrupt,