forked from Hyperion/HyperionOS
stuff.mp4
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
local args = {...}
|
||||
local kernel = args[1]
|
||||
kernel.log("Initializing third party drivers")
|
||||
for _,v in ipairs(kernel.drivers.raw) do
|
||||
if v.arch==kernel.arch then
|
||||
if v.load then
|
||||
kernel.log("Loading "..v.name)
|
||||
local ok,err = xpcall(v.load, debug.traceback)
|
||||
if not ok then
|
||||
kernel.log("DriverLoadErr: "..tostring(err))
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user