summaryrefslogtreecommitdiff
path: root/libcpu/arm/stm32/interrupt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu/arm/stm32/interrupt.c')
-rw-r--r--libcpu/arm/stm32/interrupt.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/libcpu/arm/stm32/interrupt.c b/libcpu/arm/stm32/interrupt.c
new file mode 100644
index 0000000000..a57656c7fb
--- /dev/null
+++ b/libcpu/arm/stm32/interrupt.c
@@ -0,0 +1,25 @@
+/*
+ * File : trap.c
+ * This file is part of RT-Thread RTOS
+ * COPYRIGHT (C) 2006, RT-Thread Development Team
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://openlab.rt-thread.com/license/LICENSE
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2006-03-13 Bernard first version
+ */
+
+#include <rtthread.h>
+
+#define MAX_HANDLERS 32
+
+extern rt_uint32_t rt_interrupt_nest;
+
+/* exception and interrupt handler table */
+rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread;
+rt_uint32_t rt_thread_switch_interrput_flag;
+
+/*@}*/