mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
Made the Init stage.
This commit is contained in:
parent
08b9a4b4b4
commit
73cd6daa8a
2 changed files with 26 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ using System.Text;
|
|||
namespace Cosmos.Kernel.Staging {
|
||||
public class DefaultStageQueue : StageQueue {
|
||||
public DefaultStageQueue() : base() {
|
||||
|
||||
Enqueue (new Stages.Init ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
25
source/Cosmos/Cosmos.Kernel/Staging/Stages/Init.cs
Normal file
25
source/Cosmos/Cosmos.Kernel/Staging/Stages/Init.cs
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Cosmos.Kernel.Staging.Stages {
|
||||
public class Init : IStage {
|
||||
#region IStage Members
|
||||
|
||||
public string Name {
|
||||
get {
|
||||
return "Init";
|
||||
}
|
||||
}
|
||||
|
||||
public void Initialize() {
|
||||
CPU.Init ();
|
||||
}
|
||||
|
||||
public void Teardown() {
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue