This commit is contained in:
kudzu_cp 2008-05-06 22:05:21 +00:00
parent 4c59f25ce7
commit 6b8190a695
3 changed files with 6 additions and 8 deletions

View file

@ -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);

View file

@ -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;

View file

@ -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();
}
}
}