diff options
author | Marvin Borner | 2021-07-04 21:31:28 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-04 21:34:15 +0200 |
commit | 9b8698769535846d029c44247956eed9a21f1185 (patch) | |
tree | 294a17af4102805ab9863274339e8e030897804e /src/loader/main.c |
Initial commit
Diffstat (limited to 'src/loader/main.c')
-rw-r--r-- | src/loader/main.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/loader/main.c b/src/loader/main.c new file mode 100644 index 0000000..54b5122 --- /dev/null +++ b/src/loader/main.c @@ -0,0 +1,19 @@ +// MIT License, Copyright (c) 2021 Marvin Borner + +#include <def.h> +#include <log.h> + +/** + * Entry + */ + +int start(void); +int start(void) +{ + serial_install(); + log("Hello %d\n", 42); + + while (1) + ; + return 0; +} |