summaryrefslogtreecommitdiff
path: root/libcpu/m16c/interrupt.c
diff options
context:
space:
mode:
authordzzxzz <[email protected]>2010-04-14 00:21:14 +0000
committerdzzxzz <[email protected]>2010-04-14 00:21:14 +0000
commit02564df01e8bf28dcdd0f664ce010890d4eb3aa3 (patch)
treeb39d9b959a6327e95ebf4c06f5e6fbd2cd2124ef /libcpu/m16c/interrupt.c
parent190324c7a69d3ab36d4a6f9b6666008f698f67a6 (diff)
port rt-thread to M16C
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@619 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu/m16c/interrupt.c')
-rw-r--r--libcpu/m16c/interrupt.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/libcpu/m16c/interrupt.c b/libcpu/m16c/interrupt.c
new file mode 100644
index 0000000000..5c9003007e
--- /dev/null
+++ b/libcpu/m16c/interrupt.c
@@ -0,0 +1,22 @@
+/*
+ * File : interrupt.c
+ * This file is part of RT-Thread RTOS
+ * COPYRIGHT (C) 2009, 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://www.rt-thread.org/license/LICENSE
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2010-04-09 fify the first version
+ *
+ * For : Renesas M16C
+ * Toolchain : IAR's EW for M16C v3.401
+*/
+
+#include <rtthread.h>
+
+rt_uint16_t rt_interrupt_from_thread;
+rt_uint16_t rt_interrupt_to_thread;
+rt_uint16_t rt_thread_switch_interrput_flag; \ No newline at end of file