OC-Tsuki/extras/crescent/loader.lua

6 lines
203 B
Lua
Raw Normal View History

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