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

#include <conv.h>
#include <def.h>
#include <gui.h>
#include <mem.h>
#include <print.h>
#include <sys.h>
#include <vesa.h>

int main(int argc, char **argv)
{
	(void)argc;

	printf("ARGC: %d\n", argc);
	printf("ARGV: %x\n", argv);
	printf("%s loaded.\n", argv[0]);

	exec("/wm", "wm", argv[1], NULL);
	return 0;
}