From 79ca654e1362270c5994eba864a1ddcc78e6cbaa Mon Sep 17 00:00:00 2001 From: mbbill Date: Tue, 29 Dec 2009 07:17:58 +0000 Subject: ADD: Add abort handler, it will terminate current thread by default. ADD: Merged svc, abort and irq mode stack. ADD: Changed MDK project to new format. FIX: Removed the "static" qualifier of rt_thread_exit(). FIX: Change AT91SAM7X.h to the standard header(AT91SAM7X256.h) of RealView MDK. (not all of them are changed, e.g. sd.c) FIX: Moved some board-dependent files to bsp. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@257 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/thread.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/thread.c') diff --git a/src/thread.c b/src/thread.c index a9bfd91144..e678b06946 100644 --- a/src/thread.c +++ b/src/thread.c @@ -34,7 +34,6 @@ extern rt_uint8_t rt_current_priority; extern rt_list_t rt_thread_defunct; #endif -static void rt_thread_exit(void); void rt_thread_timeout(void* parameter); static rt_err_t _rt_thread_init(struct rt_thread* thread, @@ -223,7 +222,7 @@ rt_err_t rt_thread_startup (rt_thread_t thread) return RT_EOK; } -static void rt_thread_exit() +void rt_thread_exit() { struct rt_thread* thread; register rt_base_t temp; -- cgit v1.3.1