Rev 713 | Rev 1113 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 713 | Rev 1065 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | #include <libc.h> |
29 | #include <libc.h> |
30 | #include <unistd.h> |
30 | #include <unistd.h> |
- | 31 | #include <thread.h> |
|
31 | 32 | ||
32 | void _exit(int status) { |
33 | void _exit(int status) { |
33 | __SYSCALL0(SYS_CTL); |
34 | thread_exit(status); |
34 | } |
35 | } |
35 | 36 | ||
36 | void __main(void) { |
37 | void __main(void) { |
37 | } |
38 | } |
38 | 39 |