Implement remote ATA packets.

This commit is contained in:
2019-10-19 03:11:27 +01:00
parent a8f3fc912d
commit 8eae16b566
2 changed files with 253 additions and 7 deletions

View File

@@ -109,7 +109,7 @@ namespace DiscImageChef.Devices.Remote
public AtaRegistersChs registers;
public byte protocol;
public byte transferRegister;
public byte transferBlocks;
[MarshalAs(UnmanagedType.U1)] public bool transferBlocks;
public byte spare;
public uint timeout;
}
@@ -134,7 +134,7 @@ namespace DiscImageChef.Devices.Remote
public AtaRegistersLba28 registers;
public byte protocol;
public byte transferRegister;
public byte transferBlocks;
[MarshalAs(UnmanagedType.U1)] public bool transferBlocks;
public byte spare;
public uint timeout;
}
@@ -158,7 +158,7 @@ namespace DiscImageChef.Devices.Remote
public AtaRegistersLba48 registers;
public byte protocol;
public byte transferRegister;
public byte transferBlocks;
[MarshalAs(UnmanagedType.U1)] public bool transferBlocks;
public byte spare;
public uint timeout;
}