mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
[AHCI] First working AHCI Controller
This commit is contained in:
parent
5097277509
commit
155d3b3dae
1 changed files with 4 additions and 1 deletions
|
|
@ -56,7 +56,10 @@ namespace Cosmos.HAL.BlockDevice
|
||||||
internal static void InitDriver()
|
internal static void InitDriver()
|
||||||
{
|
{
|
||||||
|
|
||||||
if (xDevice != null) AHCI Driver = new AHCI(xDevice);
|
if (xDevice != null)
|
||||||
|
{
|
||||||
|
AHCI Driver = new AHCI(xDevice);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
internal PCIDevice GetDevice() => xDevice;
|
internal PCIDevice GetDevice() => xDevice;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue