From b933a9955a2a1eb0ab32b232e23d24dc207cba46 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 9 Aug 2020 18:50:17 +0200 Subject: Added syscall templates --- apps/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/init.c') 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 #include -#include +#include void main() { - print("Init loaded\n"); - __asm__ volatile("int $0x80"); + print("Init loaded.\n"); + sys1(SYS_EXEC, (int)"/a"); while (1) { print("b"); }; -- cgit v1.2.3