Rev 1407 | Rev 1614 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1407 | Rev 1427 | ||
|---|---|---|---|
| Line 40... | Line 40... | ||
| 40 | 40 | ||
| 41 | #ifndef THREAD_INITIAL_STACK_PAGES_NO |
41 | #ifndef THREAD_INITIAL_STACK_PAGES_NO |
| 42 | #define THREAD_INITIAL_STACK_PAGES_NO 1 |
42 | #define THREAD_INITIAL_STACK_PAGES_NO 1 |
| 43 | #endif |
43 | #endif |
| 44 | 44 | ||
| - | 45 | static LIST_INITIALIZE(thread_garbage); |
|
| 45 | 46 | ||
| 46 | extern char _tdata_start; |
47 | extern char _tdata_start; |
| 47 | extern char _tdata_end; |
48 | extern char _tdata_end; |
| 48 | extern char _tbss_start; |
49 | extern char _tbss_start; |
| 49 | extern char _tbss_end; |
50 | extern char _tbss_end; |
| Line 143... | Line 144... | ||
| 143 | */ |
144 | */ |
| 144 | void thread_exit(int status) |
145 | void thread_exit(int status) |
| 145 | { |
146 | { |
| 146 | __SYSCALL1(SYS_THREAD_EXIT, (sysarg_t) status); |
147 | __SYSCALL1(SYS_THREAD_EXIT, (sysarg_t) status); |
| 147 | } |
148 | } |
| - | 149 | ||