mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added ATA IOCTLs.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user