mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
40 lines
947 B
C#
40 lines
947 B
C#
using System;
|
|
using Cosmos.Build.Windows;
|
|
|
|
namespace KudzuTest {
|
|
class Program {
|
|
#region Cosmos Builder logic
|
|
// Most users wont touch this. This will call the Cosmos Build tool
|
|
[STAThread]
|
|
static void Main(string[] args) {
|
|
var xBuilder = new Builder();
|
|
xBuilder.Build();
|
|
}
|
|
#endregion
|
|
|
|
static protected string StringTest() {
|
|
string x = "Hello";
|
|
x = x + " world.";
|
|
return x;
|
|
}
|
|
|
|
// Main entry point of the kernel
|
|
public static void Init() {
|
|
Cosmos.Kernel.Boot.Default();
|
|
// System.Diagnostics.Debugger.Break();
|
|
Console.WriteLine("Boot complete");
|
|
|
|
|
|
|
|
//Cosmos.Hardware.PC.Bus.PCIBus.Init();
|
|
//Console.ReadLine();
|
|
Tests.DoAll();
|
|
|
|
//Cosmos.Kernel.Temp.Kudzu.PCI.Test();
|
|
|
|
Console.WriteLine("Shell complete");
|
|
while (true)
|
|
;
|
|
}
|
|
}
|
|
}
|