2020-05-25 13:50:51 +10:00
|
|
|
function boot_kernel(kargs)
|
2020-05-25 00:18:28 +10:00
|
|
|
local knl, env = load_velx(computer.getBootAddress(), "kernel.velx")
|
|
|
|
local iramfs = load_tsar(computer.getBootAddress(), "initramfs.tsar")
|
|
|
|
env._ARCHIVE = iramfs
|
2020-05-25 13:50:51 +10:00
|
|
|
status("kernel.velx "..kargs)
|
|
|
|
knl(kargs)
|
2020-05-25 00:18:28 +10:00
|
|
|
end
|