Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Math functions #620

Merged
merged 29 commits into from Apr 1, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Merge branch 'master' of https://github.com/mosa/MOSA-Project into 02…

…9-PCI

# Conflicts:
#	Source/Mosa.CoolWorld.x86/Boot.cs
#	Source/Mosa.DeviceDriver/Setup.cs
  • Loading branch information...
tgiphil committed Mar 30, 2019
commit 644cae3fc69549d58eadd8021e0de1efbd713af1
@@ -125,16 +125,26 @@ public static void Main()
var diskcontrollers = deviceService.GetDevices<IDiskControllerDevice>();
Console.WriteLine("[Completed: " + diskcontrollers.Count.ToString() + " found]");

foreach (var device in devices)
foreach (var device in diskcontrollers)
{
Console.Write(" ");
Bullet(ScreenColor.Yellow);
Console.Write(" ");
InBrackets(device.Name, ScreenColor.White, ScreenColor.Green);
Console.WriteLine();
}

Console.Write("> Probing for disks...");
var disks = deviceService.GetDevices<IDiskDevice>();
Console.WriteLine("[Completed: " + disks.Count.ToString() + " found]");

foreach (var disk in disks)
{
Console.Write(" ");
Bullet(ScreenColor.Yellow);
Console.Write(" ");
InBrackets(disk.Name, ScreenColor.White, ScreenColor.Green);
Console.Write(" " + (disk.DeviceDriver as IDiskDevice).TotalBlocks.ToString() + " blocks");
Console.WriteLine();
}

You are viewing a condensed version of this merge commit. You can view the full changes here.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.