summaryrefslogtreecommitdiff
path: root/src/kernel/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r--src/kernel/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c
index d2d7dda..d2f2e7f 100644
--- a/src/kernel/main.c
+++ b/src/kernel/main.c
@@ -1,11 +1,13 @@
#include <arch/generic.h>
+#include <kernel/main.h>
#include <kernel/mem.h>
#include <kernel/panic.h>
#include <kernel/proc.h>
void r3_test();
-void kmain() {
+void kmain(struct kmain_info info) {
+ log_write(info.init.at, info.init.size);
log_const("mem...");
mem_init();