Cosmos/source/Boot/TestSuite/Program.cs
kudzu_cp 8eed14ddcf
2008-10-07 21:51:25 +00:00

36 lines
No EOL
874 B
C#

using System;
using Cosmos.Compiler.Builder;
using Cosmos.Kernel;
namespace TestSuite {
class Program {
#region Cosmos Builder logic
// Most users wont touch this. This will call the Cosmos Build tool
[STAThread]
static void Main(string[] args) {
BuildUI.Run();
}
#endregion
// Main entry point of the kernel
public static void Init() {
System.Diagnostics.Debugger.Break();
Heap.CheckInit();
Cosmos.Hardware.PC.Global.Init(true, true, true);
Console.WriteLine("Init Keyboard");
System.Diagnostics.Debugger.Break();
KeyboardOld.Initialize();
Cosmos.Kernel.Staging.DefaultStageQueue stages = new Cosmos.Kernel.Staging.DefaultStageQueue();
stages.Enqueue(new TestsStage());
stages.Run();
stages.Teardown();
while (true)
;
}
}
}