[AHCI] First working AHCI Controller

This commit is contained in:
KingLuigi4932 2017-12-25 19:10:26 +03:00 committed by GitHub
parent 5097277509
commit 155d3b3dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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