[init] Load uart and logger from initrd

Load drv.uart.elf and srv.logger.elf from the initrd and start them.
It's extremely manual and hard-coded at the moment, but it works and
they run, getting us back to where we were pre-initrd branch.
This commit is contained in:
Justin C. Miller
2023-01-29 21:35:12 -08:00
parent 933e4e8040
commit 8b29680850
9 changed files with 235 additions and 114 deletions

View File

@@ -5,10 +5,10 @@ init = module("srv.init",
deps = [ "libc", "elf", "bootproto", "zstd" ],
description = "Init server",
sources = [
"j6romfs.cpp",
"loader.cpp",
"main.cpp",
"modules.cpp",
"ramdisk.cpp",
"service_locator.cpp",
"start.s",
])