diff options
author | Marvin Borner | 2020-08-09 18:50:17 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-09 18:50:17 +0200 |
commit | b933a9955a2a1eb0ab32b232e23d24dc207cba46 (patch) | |
tree | cb5871cb861a1e7eee8900a2ed81a9e33a3ce130 /apps/init.c | |
parent | 544acef0986977ef9d3a05d87bb9f55163b1280a (diff) |
Added syscall templates
Diffstat (limited to 'apps/init.c')
-rw-r--r-- | apps/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/init.c b/apps/init.c index 91f5083..2851e8e 100644 --- a/apps/init.c +++ b/apps/init.c @@ -2,12 +2,12 @@ #include <def.h> #include <print.h> -#include <str.h> +#include <sys.h> void main() { - print("Init loaded\n"); - __asm__ volatile("int $0x80"); + print("Init loaded.\n"); + sys1(SYS_EXEC, (int)"/a"); while (1) { print("b"); }; |