NC firmware update (thanks spsf). opencomputers now uses mutiple gpus to speed up rendering and now has net drivers. currently working on kernel memory protections to prevent malicious kernel drivers. spm does not work on opencomputers, this is a known issue i am working on fixing it :D sorry for the slow development.
This commit is contained in:
1 parent
fbaafc7cff
commit
ef4b856ee6
89 files changed
+3955
-563
No files matched your search
@@ -10,7 +10,6 @@ local lambda_var = 0.02
|
||||
local k_min = 0.5
|
||||
local k_max = 0.5
|
||||
local B = 0.01
|
||||
local nextyield=0
|
||||
|
||||
function kernel.main()
|
||||
kernel.log("Starting main loop...")
|
||||
@@ -18,6 +17,9 @@ function kernel.main()
|
||||
local stopLog=5
|
||||
local logTasks=100
|
||||
|
||||
local burstSteps = 0
|
||||
local maxBurstSteps = 64
|
||||
|
||||
while not kernel.exitMain do
|
||||
if kernel.config.logTasks then
|
||||
if logTasks<0 then
|
||||
@@ -121,6 +123,11 @@ function kernel.main()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
burstSteps = burstSteps + N
|
||||
if N == 0 or burstSteps >= maxBurstSteps then
|
||||
burstSteps = 0
|
||||
kernel.EFI:yield()
|
||||
end
|
||||
|
||||
@@ -144,4 +151,4 @@ function kernel.main()
|
||||
kernel.saveLog()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user