Mercurial > lcfOS
annotate cos/hello/liblcfos.c @ 43:e47bfef80baf
Fixed build by commenting out initrd code
author | windel |
---|---|
date | Sat, 18 Feb 2012 16:18:03 +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 |