From 61d969f1b9762a9a81ad821edd375e1164f75787 Mon Sep 17 00:00:00 2001 From: dzzxzz Date: Thu, 1 Sep 2011 08:05:21 +0000 Subject: [PATCH] merge stack.c and interrupt.c into cpuport.c git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1687 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/m16c62p/application.c | 4 +- bsp/m16c62p/board.c | 4 +- bsp/m16c62p/bsp.c | 4 +- bsp/m16c62p/interrupts.asm | 4 +- bsp/m16c62p/rtt2m16c.ewp | 7 +-- bsp/m16c62p/startup.c | 12 +++-- bsp/m16c62p/uart.c | 6 +-- bsp/m16c62p/vectors.asm | 4 +- libcpu/m16c/m16c62p/context_iar.asm | 2 +- libcpu/m16c/m16c62p/cpuport.c | 73 +++++++++++++++++++++++++++++ libcpu/m16c/m16c62p/interrupt.c | 22 --------- libcpu/m16c/m16c62p/stack.c | 59 ----------------------- 12 files changed, 97 insertions(+), 104 deletions(-) create mode 100644 libcpu/m16c/m16c62p/cpuport.c delete mode 100644 libcpu/m16c/m16c62p/interrupt.c delete mode 100644 libcpu/m16c/m16c62p/stack.c diff --git a/bsp/m16c62p/application.c b/bsp/m16c62p/application.c index 455104c15f..e0849eb372 100644 --- a/bsp/m16c62p/application.c +++ b/bsp/m16c62p/application.c @@ -14,7 +14,7 @@ * * For : Renesas M16C * Toolchain : IAR's EW for M16C v3.401 -*/ + */ #include #include "bsp.h" @@ -40,7 +40,7 @@ static void rt_thread_entry_led(void* parameter) int rt_application_init(void) { /* create led thread */ - rt_thread_init(&led, + rt_thread_init(&led, "led", rt_thread_entry_led, RT_NULL, &led_stack[0], sizeof(led_stack), diff --git a/bsp/m16c62p/board.c b/bsp/m16c62p/board.c index 644010079b..95ada9df98 100644 --- a/bsp/m16c62p/board.c +++ b/bsp/m16c62p/board.c @@ -9,11 +9,11 @@ * * Change Logs: * Date Author Notes - * 2010-04-09 fify the first version + * 2010-04-09 fify the first version * * For : Renesas M16C * Toolchain : IAR's EW for M16C v3.401 -*/ + */ #include #include diff --git a/bsp/m16c62p/bsp.c b/bsp/m16c62p/bsp.c index 32b73a6f18..83b32f8305 100644 --- a/bsp/m16c62p/bsp.c +++ b/bsp/m16c62p/bsp.c @@ -9,11 +9,11 @@ * * Change Logs: * Date Author Notes - * 2010-04-09 fify the first version + * 2010-04-09 fify the first version * * For : Renesas M16C * Toolchain : IAR's EW for M16C v3.401 -*/ + */ #include "iom16c62p.h" #include "bsp.h" diff --git a/bsp/m16c62p/interrupts.asm b/bsp/m16c62p/interrupts.asm index d2f0bec954..20340612e2 100644 --- a/bsp/m16c62p/interrupts.asm +++ b/bsp/m16c62p/interrupts.asm @@ -9,11 +9,11 @@ * * Change Logs: * Date Author Notes - * 2010-04-20 fify the first version + * 2010-04-20 fify the first version * * For : Renesas M16C * Toolchain : IAR's EW for M16C v3.401 -*/ + */ PUBLIC rt_hw_timer_handler PUBLIC rt_hw_uart0_receive_handler diff --git a/bsp/m16c62p/rtt2m16c.ewp b/bsp/m16c62p/rtt2m16c.ewp index cb161849a4..847186dd7e 100644 --- a/bsp/m16c62p/rtt2m16c.ewp +++ b/bsp/m16c62p/rtt2m16c.ewp @@ -207,7 +207,7 @@