aboutsummaryrefslogtreecommitdiff
path: root/apps/init.c
blob: 813021bc4493214c4ea83ec3e2767578794ad24a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// MIT License, Copyright (c) 2020 Marvin Borner

#include <def.h>
#include <mem.h>
#include <print.h>
#include <sys.h>

void main()
{
	print("Init loaded.\n");

	printf("%x %d %b\n ABC %s", 42, 42, 42, "BAUM");
	sys0(SYS_LOOP);
	/* sys1(SYS_EXEC, (int)"/a"); */
	while (1) {
		print("b");
	};
}