mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Moved devices enums and structs out of classes.
This commit is contained in:
@@ -39,76 +39,73 @@ using System;
|
||||
|
||||
namespace DiscImageChef.Devices
|
||||
{
|
||||
public static class Structs
|
||||
public struct AtaRegistersCHS
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
public struct AtaRegistersLBA28
|
||||
{
|
||||
public byte feature;
|
||||
public byte sectorCount;
|
||||
public byte lbaLow;
|
||||
public byte lbaMid;
|
||||
public byte lbaHigh;
|
||||
public byte deviceHead;
|
||||
public byte command;
|
||||
}
|
||||
public struct AtaRegistersLBA28
|
||||
{
|
||||
public byte feature;
|
||||
public byte sectorCount;
|
||||
public byte lbaLow;
|
||||
public byte lbaMid;
|
||||
public byte lbaHigh;
|
||||
public byte deviceHead;
|
||||
public byte command;
|
||||
}
|
||||
|
||||
public struct AtaRegistersLBA48
|
||||
{
|
||||
public ushort feature;
|
||||
public ushort sectorCount;
|
||||
public ushort lbaLow;
|
||||
public ushort lbaMid;
|
||||
public ushort lbaHigh;
|
||||
public byte deviceHead;
|
||||
public byte command;
|
||||
}
|
||||
public struct AtaRegistersLBA48
|
||||
{
|
||||
public ushort feature;
|
||||
public ushort sectorCount;
|
||||
public ushort lbaLow;
|
||||
public ushort lbaMid;
|
||||
public ushort lbaHigh;
|
||||
public byte deviceHead;
|
||||
public byte command;
|
||||
}
|
||||
|
||||
public struct AtaErrorRegistersCHS
|
||||
{
|
||||
public byte status;
|
||||
public byte error;
|
||||
public byte sectorCount;
|
||||
public byte sector;
|
||||
public byte cylinderLow;
|
||||
public byte cylinderHigh;
|
||||
public byte deviceHead;
|
||||
public byte command;
|
||||
}
|
||||
public struct AtaErrorRegistersCHS
|
||||
{
|
||||
public byte status;
|
||||
public byte error;
|
||||
public byte sectorCount;
|
||||
public byte sector;
|
||||
public byte cylinderLow;
|
||||
public byte cylinderHigh;
|
||||
public byte deviceHead;
|
||||
public byte command;
|
||||
}
|
||||
|
||||
public struct AtaErrorRegistersLBA28
|
||||
{
|
||||
public byte status;
|
||||
public byte error;
|
||||
public byte sectorCount;
|
||||
public byte lbaLow;
|
||||
public byte lbaMid;
|
||||
public byte lbaHigh;
|
||||
public byte deviceHead;
|
||||
public byte command;
|
||||
}
|
||||
public struct AtaErrorRegistersLBA28
|
||||
{
|
||||
public byte status;
|
||||
public byte error;
|
||||
public byte sectorCount;
|
||||
public byte lbaLow;
|
||||
public byte lbaMid;
|
||||
public byte lbaHigh;
|
||||
public byte deviceHead;
|
||||
public byte command;
|
||||
}
|
||||
|
||||
public struct AtaErrorRegistersLBA48
|
||||
{
|
||||
public byte status;
|
||||
public byte error;
|
||||
public ushort sectorCount;
|
||||
public ushort lbaLow;
|
||||
public ushort lbaMid;
|
||||
public ushort lbaHigh;
|
||||
public byte deviceHead;
|
||||
public byte command;
|
||||
}
|
||||
public struct AtaErrorRegistersLBA48
|
||||
{
|
||||
public byte status;
|
||||
public byte error;
|
||||
public ushort sectorCount;
|
||||
public ushort lbaLow;
|
||||
public ushort lbaMid;
|
||||
public ushort lbaHigh;
|
||||
public byte deviceHead;
|
||||
public byte command;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user