mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
27 lines
623 B
C#
27 lines
623 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Core.MemoryGroup
|
|
{
|
|
/// <summary>
|
|
/// AHCI class.
|
|
/// </summary>
|
|
public class AHCI
|
|
{
|
|
/// <summary>
|
|
/// Data memory block.
|
|
/// </summary>
|
|
public MemoryBlock DataBlock;
|
|
|
|
/// <summary>
|
|
/// Initialize AHCI instance.
|
|
/// </summary>
|
|
/// <param name="aSectorSize">A sector size.</param>
|
|
public AHCI(uint aSectorSize)
|
|
{
|
|
DataBlock = new Core.MemoryBlock(0x0046C000, aSectorSize * 1024);
|
|
DataBlock.Fill(0);
|
|
}
|
|
}
|
|
}
|