Commit c91fe22a authored by yoogx's avatar yoogx
Browse files

* Get_Number_Of_Cores: return 1 if no core are detected, as a

          processor always has one core by default

          For openaadl/ocarina#234
parent 8949688b
......@@ -4134,7 +4134,11 @@ package body Ocarina.Backends.Utils is
end if;
end loop;
return Number_Of_Cores;
if Number_Of_Cores /= 0 then
return Number_Of_Cores;
return 1;
end if;
end Get_Number_Of_Cores;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment