From 155d3b3dae1c9a5bb7a02ca1aaa67b7e9d54378e Mon Sep 17 00:00:00 2001 From: KingLuigi4932 Date: Mon, 25 Dec 2017 19:10:26 +0300 Subject: [PATCH] [AHCI] First working AHCI Controller --- source/Cosmos.HAL2/BlockDevice/AHCI.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Cosmos.HAL2/BlockDevice/AHCI.cs b/source/Cosmos.HAL2/BlockDevice/AHCI.cs index f3f8d2b8a..71d6c53af 100644 --- a/source/Cosmos.HAL2/BlockDevice/AHCI.cs +++ b/source/Cosmos.HAL2/BlockDevice/AHCI.cs @@ -56,7 +56,10 @@ namespace Cosmos.HAL.BlockDevice internal static void InitDriver() { - if (xDevice != null) AHCI Driver = new AHCI(xDevice); + if (xDevice != null) + { + AHCI Driver = new AHCI(xDevice); + } } internal PCIDevice GetDevice() => xDevice;