summaryrefslogtreecommitdiff
path: root/irq_test_c/irqforce.c
diff options
context:
space:
mode:
Diffstat (limited to 'irq_test_c/irqforce.c')
-rw-r--r--irq_test_c/irqforce.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/irq_test_c/irqforce.c b/irq_test_c/irqforce.c
new file mode 100644
index 0000000..ad46b8b
--- /dev/null
+++ b/irq_test_c/irqforce.c
@@ -0,0 +1,15 @@
+/*
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#include <bsp.h>
+
+void irqforce(int irq)
+{
+ ERC32_Unmask_interrupt(irq);
+ ERC32_Force_interrupt(irq);
+}