OC-Tsuki/extras/crescent/loader.lua

7 lines
238 B
Lua
Raw Normal View History

2020-06-02 16:23:58 +10:00
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