diff options
| author | mbbill <[email protected]> | 2009-12-29 07:17:58 +0000 |
|---|---|---|
| committer | mbbill <[email protected]> | 2009-12-29 07:17:58 +0000 |
| commit | 79ca654e1362270c5994eba864a1ddcc78e6cbaa (patch) | |
| tree | fa67fb76afce134a9e049df94403a65398ef3f93 /include | |
| parent | 78de03446bdc2ed0c56e76c0beff8221a358c250 (diff) | |
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
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtthread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index e2654496b0..ae619f4a31 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -112,6 +112,7 @@ rt_err_t rt_thread_control(rt_thread_t thread, rt_uint8_t cmd, void* arg); rt_err_t rt_thread_suspend(rt_thread_t thread); rt_err_t rt_thread_resume(rt_thread_t thread); void rt_thread_timeout(void* parameter); +void rt_thread_exit(void); /* * idle thread interface @@ -175,7 +176,7 @@ void rt_free (void *ptr); void* rt_realloc(void *ptr, rt_size_t nbytes); void *rt_calloc(rt_size_t count, rt_size_t size); -void rt_memory_info(rt_uint32_t *total, +void rt_memory_info(rt_uint32_t *total, rt_uint32_t *used, rt_uint32_t *max_used); |
