summaryrefslogtreecommitdiff
path: root/src/kernel/main.c
diff options
context:
space:
mode:
authordzwdz2022-08-12 13:45:20 +0200
committerdzwdz2022-08-12 13:45:20 +0200
commit3fa9fee167b9e6f070aba9a1cec1ce69531d9601 (patch)
treeb4ec7896050bb699db0ceaf57a62b3534a386d71 /src/kernel/main.c
parent215aa95c8d8c85985c1dcc5a994ad164823b39e6 (diff)
kernel/proc: don't expose internal fuctions, clean up api
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r--src/kernel/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c
index 03ff177..ef7acee 100644
--- a/src/kernel/main.c
+++ b/src/kernel/main.c
@@ -7,7 +7,7 @@
void kmain(struct kmain_info info) {
kprintf("loading init...\n");
- process_seed(&info);
+ process_seed(info.init.at, info.init.size);
kprintf("switching...\n");
process_switch_any();