Mercurial > lcfOS
annotate cos/hello/liblcfos.c @ 203:ca1ea402f6a1
Added some arm instructions
author | Windel Bouwman |
---|---|
date | Sat, 15 Jun 2013 19:13:05 +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 |