mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-12 03:01:32 +00:00
does not work
This commit is contained in:
parent
add525cece
commit
41336096c5
4 changed files with 7 additions and 7 deletions
|
|
@ -34,7 +34,6 @@ namespace Cosmos.Kernel {
|
|||
Console.Write("Creating IDT...");
|
||||
Hardware.CPU.CreateIDT();
|
||||
Console.WriteLine("Done");
|
||||
TestATA();
|
||||
}
|
||||
|
||||
public static uint TickCount {
|
||||
|
|
@ -51,7 +50,7 @@ namespace Cosmos.Kernel {
|
|||
;
|
||||
}
|
||||
|
||||
static unsafe void TestATA() {
|
||||
public static unsafe void TestATA() {
|
||||
Hardware.Storage.ATA.Initialize(Sleep);
|
||||
Hardware.Storage.ATA xDrive = new Cosmos.Hardware.Storage.ATA(0, 0);
|
||||
byte* xBuffer = (byte*)Heap.MemAlloc(512);
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ namespace Cosmos.Kernel {
|
|||
public static void Initialize() {
|
||||
CPU.Init ();
|
||||
|
||||
//queue = new Cosmos.Kernel.Staging.DefaultStageQueue ();
|
||||
//queue.Run ();
|
||||
queue = new Cosmos.Kernel.Staging.DefaultStageQueue ();
|
||||
queue.Run ();
|
||||
}
|
||||
|
||||
public static void Teardown() {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ namespace Cosmos.Kernel.Staging.Stages {
|
|||
}
|
||||
}
|
||||
|
||||
public void Initialize() {
|
||||
public void Initialize() {
|
||||
CPU.TestATA ();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@ using System.Text;
|
|||
namespace Cosmos.Shell.Console {
|
||||
class Program {
|
||||
static void Main() {
|
||||
Kernel.CPU.Init ();
|
||||
Kernel.Stages.Initialize ();
|
||||
|
||||
System.Console.WriteLine ("Cosmos creation complete");
|
||||
Kernel.Interrupts.DoTest ();
|
||||
|
||||
//Kernel.Stages.Teardown ();
|
||||
Kernel.Stages.Teardown ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue