Added ATA IOCTLs.

This commit is contained in:
2015-10-07 02:15:31 +01:00
parent 97c8d54b72
commit 7fa4c3fbeb
7 changed files with 140 additions and 5 deletions

View File

@@ -18,6 +18,12 @@ namespace DiscImageChef.Devices.Linux
[DllImport("libc", EntryPoint="ioctl", SetLastError = true)]
internal static extern int ioctlSg(int fd, ulong request, ref sg_io_hdr_t value);
[DllImport("libc", EntryPoint="ioctl", SetLastError = true)]
internal static extern int ioctlHdTaskfile(int fd, ulong request, ref hd_drive_task_hdr value);
[DllImport("libc", EntryPoint="ioctl", SetLastError = true)]
internal static extern int ioctlHdTask(int fd, ulong request, ref byte[] value);
}
}