mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-13 11:41:44 +00:00
This commit is contained in:
parent
4c59f25ce7
commit
6b8190a695
3 changed files with 6 additions and 8 deletions
|
|
@ -47,7 +47,7 @@ namespace Cosmos.FileSystem {
|
|||
}
|
||||
}
|
||||
}
|
||||
public static void Initialize()
|
||||
public static void Init()
|
||||
{
|
||||
//DebugUtil.SendMessage("MBT", "Initializing");
|
||||
//DebugUtil.SendNumber("MBT", "DeviceCount", (uint)Device.Devices.Count, 32);
|
||||
|
|
|
|||
|
|
@ -40,12 +40,12 @@ namespace Cosmos.Hardware.PC {
|
|||
// MTW new end
|
||||
|
||||
HW.Device.Add(new Bus.CPU.Keyboard());
|
||||
Cosmos.Hardware.PC.Bus.PCIBus.Init();
|
||||
}
|
||||
[Obsolete("Use Init(noATA, noATAOld, noATA2)")]
|
||||
public static void Init()
|
||||
{
|
||||
|
||||
public static void Init() {
|
||||
Init(false, false, false);
|
||||
}
|
||||
}
|
||||
|
||||
public static uint TickCount {
|
||||
get;
|
||||
|
|
|
|||
|
|
@ -26,12 +26,10 @@ namespace Cosmos.Kernel {
|
|||
// MTW: you could use partial methods for this, but then you dont
|
||||
// have control of the order in which the individual methods are called..
|
||||
Cosmos.Hardware.PC.Global.Init();
|
||||
MBT.Initialize();
|
||||
MBT.Init();
|
||||
|
||||
// Now init kernel devices and rest of kernel
|
||||
Keyboard.Initialize();
|
||||
|
||||
Cosmos.Hardware.PC.Bus.PCIBus.Init();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue