Mercurial > lcfOS
annotate cos/hello/liblcfos.c @ 126:bbf4c9b138d4
Changes to elf reading
author | Windel Bouwman |
---|---|
date | Sun, 13 Jan 2013 12:14:27 +0100 |
parents | a1c9c2158e99 |
children |
rev | line source |
---|---|
38 | 1 |
2 /* Defines all system calls */ | |
3 | |
4 #include "liblcfos.h" | |
5 | |
6 /* Exit program system call */ | |
7 void exit() | |
8 { | |
9 //syscall(EXIT); | |
10 } | |
11 | |
12 /* Print string to screen */ | |
13 void print_string(char *str) | |
14 { | |
15 // TODO: | |
16 // syscall(WRITESTR, str); | |
17 if (str[0] == 0) | |
18 { | |
19 return; | |
20 } | |
21 } | |
22 | |
23 |