Mercurial > lcfOS
annotate cos/hello/liblcfos.c @ 212:62386bcee1ba
Added parser combinator lib
author | Windel Bouwman |
---|---|
date | Sun, 30 Jun 2013 19:00:41 +0200 |
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 |