diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-01-10 17:45:09 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-01-10 17:45:09 +0200 |
| commit | a5cfead3bd0761ba22a07a4e168670dfb7c9fb84 (patch) | |
| tree | 8081f1ba46f93b6788b94c167e16cba700b9fbb1 /common/main.c | |
| parent | 23207f0393be1776fdcc224248b7e7d88c1bf622 (diff) | |
| download | kmi-a5cfead3bd0761ba22a07a4e168670dfb7c9fb84.tar.gz kmi-a5cfead3bd0761ba22a07a4e168670dfb7c9fb84.zip | |
some kmx alleviations
Diffstat (limited to 'common/main.c')
| -rw-r--r-- | common/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c index 7291387..478b2f5 100644 --- a/common/main.c +++ b/common/main.c @@ -57,5 +57,6 @@ void __main main(void *fdt, uintptr_t ram_base) smp_bringup(b, fdt); /* start running init program */ - run_init(cur_tcb(), fdt); + void *initrd = (void *)get_initrdbase(fdt); + run_init(cur_tcb(), fdt, initrd); } |
