mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move to file scoped namespaces.
This commit is contained in:
4205
ATA/Identify.cs
4205
ATA/Identify.cs
File diff suppressed because it is too large
Load Diff
145
ATA/Registers.cs
145
ATA/Registers.cs
@@ -32,83 +32,82 @@
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Aaru.Decoders.ATA
|
||||
namespace Aaru.Decoders.ATA;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaRegistersChs
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaRegistersChs
|
||||
{
|
||||
public byte Feature;
|
||||
public byte SectorCount;
|
||||
public byte Sector;
|
||||
public byte CylinderLow;
|
||||
public byte CylinderHigh;
|
||||
public byte DeviceHead;
|
||||
public byte Command;
|
||||
}
|
||||
public byte Feature;
|
||||
public byte SectorCount;
|
||||
public byte Sector;
|
||||
public byte CylinderLow;
|
||||
public byte CylinderHigh;
|
||||
public byte DeviceHead;
|
||||
public byte Command;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaRegistersLba28
|
||||
{
|
||||
public byte Feature;
|
||||
public byte SectorCount;
|
||||
public byte LbaLow;
|
||||
public byte LbaMid;
|
||||
public byte LbaHigh;
|
||||
public byte DeviceHead;
|
||||
public byte Command;
|
||||
}
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaRegistersLba28
|
||||
{
|
||||
public byte Feature;
|
||||
public byte SectorCount;
|
||||
public byte LbaLow;
|
||||
public byte LbaMid;
|
||||
public byte LbaHigh;
|
||||
public byte DeviceHead;
|
||||
public byte Command;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaRegistersLba48
|
||||
{
|
||||
public ushort Feature;
|
||||
public ushort SectorCount;
|
||||
public byte LbaLowPrevious;
|
||||
public byte LbaLowCurrent;
|
||||
public byte LbaMidPrevious;
|
||||
public byte LbaMidCurrent;
|
||||
public byte LbaHighPrevious;
|
||||
public byte LbaHighCurrent;
|
||||
public byte DeviceHead;
|
||||
public byte Command;
|
||||
}
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaRegistersLba48
|
||||
{
|
||||
public ushort Feature;
|
||||
public ushort SectorCount;
|
||||
public byte LbaLowPrevious;
|
||||
public byte LbaLowCurrent;
|
||||
public byte LbaMidPrevious;
|
||||
public byte LbaMidCurrent;
|
||||
public byte LbaHighPrevious;
|
||||
public byte LbaHighCurrent;
|
||||
public byte DeviceHead;
|
||||
public byte Command;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaErrorRegistersChs
|
||||
{
|
||||
public byte Status;
|
||||
public byte Error;
|
||||
public byte SectorCount;
|
||||
public byte Sector;
|
||||
public byte CylinderLow;
|
||||
public byte CylinderHigh;
|
||||
public byte DeviceHead;
|
||||
}
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaErrorRegistersChs
|
||||
{
|
||||
public byte Status;
|
||||
public byte Error;
|
||||
public byte SectorCount;
|
||||
public byte Sector;
|
||||
public byte CylinderLow;
|
||||
public byte CylinderHigh;
|
||||
public byte DeviceHead;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaErrorRegistersLba28
|
||||
{
|
||||
public byte Status;
|
||||
public byte Error;
|
||||
public byte SectorCount;
|
||||
public byte LbaLow;
|
||||
public byte LbaMid;
|
||||
public byte LbaHigh;
|
||||
public byte DeviceHead;
|
||||
}
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaErrorRegistersLba28
|
||||
{
|
||||
public byte Status;
|
||||
public byte Error;
|
||||
public byte SectorCount;
|
||||
public byte LbaLow;
|
||||
public byte LbaMid;
|
||||
public byte LbaHigh;
|
||||
public byte DeviceHead;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaErrorRegistersLba48
|
||||
{
|
||||
public byte Status;
|
||||
public byte Error;
|
||||
public ushort SectorCount;
|
||||
public byte LbaLowPrevious;
|
||||
public byte LbaLowCurrent;
|
||||
public byte LbaMidPrevious;
|
||||
public byte LbaMidCurrent;
|
||||
public byte LbaHighPrevious;
|
||||
public byte LbaHighCurrent;
|
||||
public byte DeviceHead;
|
||||
}
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct AtaErrorRegistersLba48
|
||||
{
|
||||
public byte Status;
|
||||
public byte Error;
|
||||
public ushort SectorCount;
|
||||
public byte LbaLowPrevious;
|
||||
public byte LbaLowCurrent;
|
||||
public byte LbaMidPrevious;
|
||||
public byte LbaMidCurrent;
|
||||
public byte LbaHighPrevious;
|
||||
public byte LbaHighCurrent;
|
||||
public byte DeviceHead;
|
||||
}
|
||||
Reference in New Issue
Block a user