OC-Tsuki/extras/crescent/loader.lua
2020-05-24 23:50:51 -04:00

7 lines
238 B
Lua

function boot_kernel(kargs)
local knl, env = load_velx(computer.getBootAddress(), "kernel.velx")
local iramfs = load_tsar(computer.getBootAddress(), "initramfs.tsar")
env._ARCHIVE = iramfs
status("kernel.velx "..kargs)
knl(kargs)
end