From cc326d0ce2fefead8b4e4437d81bda3dfc1eb197 Mon Sep 17 00:00:00 2001 From: KingLuigi4932 Date: Thu, 28 Dec 2017 23:44:05 +0300 Subject: [PATCH] Update AHCI.cs --- source/Cosmos.HAL2/BlockDevice/AHCI.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/Cosmos.HAL2/BlockDevice/AHCI.cs b/source/Cosmos.HAL2/BlockDevice/AHCI.cs index 71d6c53af..68580e37a 100644 --- a/source/Cosmos.HAL2/BlockDevice/AHCI.cs +++ b/source/Cosmos.HAL2/BlockDevice/AHCI.cs @@ -66,13 +66,12 @@ namespace Cosmos.HAL.BlockDevice public AHCI(PCIDevice aAHCIDevice) { - mAHCIDebugger.Send("Something wrong!"); aAHCIDevice.EnableBusMaster(true); aAHCIDevice.EnableMemory(true); mABAR = aAHCIDevice.BaseAddressBar[5].BaseAddress; mGeneric = new GenericRegisters(aAHCIDevice.BaseAddressBar[5].BaseAddress); - mGeneric.GlobalHostControl |= (1U << 31); + mGeneric.GlobalHostControl |= (1U << 31); // Enable AHCI GetCapabilities(); mPorts.Capacity = (int)NumOfPorts;