Commit Graph

204 Commits

Author SHA1 Message Date
891649f6fc Add reopen commands packet processing. 2020-12-14 01:41:30 +00:00
76cfb2c072 Add multi SD/MMC commands packet processing. 2020-12-14 01:26:39 +00:00
2ca77bb255 Free more allocations. 2020-12-13 23:51:46 +00:00
278e5ad215 Add Visual Studio 2017 project. 2020-11-06 19:14:30 +00:00
641048a3ec Fix USB return value in FreeBSD. 2020-11-03 19:23:24 +00:00
7b2529ebb9 FreeBSD does not need the file descriptor for device. 2020-11-03 19:23:07 +00:00
f271cd1942 ATA devices seem to be working in FreeBSD. 2020-11-03 19:22:40 +00:00
08ff1bd9bc Initialize sense as false in FreeBSD SCSI. 2020-11-03 19:22:10 +00:00
b34c5aeb0e Change include files in FreeBSD. 2020-11-03 19:20:36 +00:00
f35cebfb38 Up version. 2020-10-31 02:47:55 +00:00
936ad1c0a6 Update README. 2020-10-31 02:47:14 +00:00
fabe9f8b40 Code refactor and format. 2020-10-31 02:28:50 +00:00
00b30ece2e Implement 48-bit ATA in FreeBSD. 2020-10-31 02:22:58 +00:00
c18026ac9f Implement 28-bit ATA in FreeBSD. 2020-10-31 02:17:45 +00:00
550971dfd8 Implement CHS ATA in FreeBSD. 2020-10-31 02:13:11 +00:00
6d1b977c75 Free CCB in SCSI FreeBSD. 2020-10-31 02:11:53 +00:00
d65ab5da10 Add time calculation for SCSI FreeBSD commands. 2020-10-31 01:01:42 +00:00
e80c58049c Add Visual Studio 2019 project. 2020-10-28 03:41:57 +00:00
6e69f5077d Implement SCSI types in FreeBSD. 2020-10-28 03:28:32 +00:00
23fd141cfb Add get device type on FreeBSD. 2020-10-28 02:58:26 +00:00
d0d51d2279 Fix freeing CAM memory in FreeBSD. 2020-10-28 02:57:59 +00:00
dcc8987dbb Add close device on FreeBSD. 2020-10-28 02:45:18 +00:00
d6bde05a07 Add open device on FreeBSD. 2020-10-28 02:31:08 +00:00
c3be1ee128 Implement listing devices in FreeBSD. 2020-10-26 02:18:59 +00:00
f75c3c4959 Require CAM library. 2020-10-26 01:20:04 +00:00
fce40c6175 Add FreeBSD skeleton. 2020-10-26 01:11:00 +00:00
199423214f Disable using sys/endian.h 2020-10-26 01:10:41 +00:00
ab03806b50 Fix headers. 2020-10-26 01:10:22 +00:00
7f414fc204 Up version. 2020-10-24 14:50:21 +01:00
4d476787b7 Store device type GUIDs in heap, old version of compiler do not support GUID arrays in stack. 2020-10-24 14:48:47 +01:00
4ebd9ec1b0 Pass correct parameter when retrieving device number in Windows. 2020-10-24 14:48:24 +01:00
91c8e2bdb9 Fix clearing SPTD buffer in Windows. 2020-10-24 14:47:58 +01:00
a354f1d826 Fix checking initialization of SPTD structure in Windows. 2020-10-24 14:47:43 +01:00
56c2f393ee Use sprintf_s in Windows instead of snprintf. 2020-10-24 14:47:20 +01:00
0d250dbd09 Code clean-up. 2020-10-24 14:47:01 +01:00
d1dc203264 Manually cast values in Windows to prevent warnings. 2020-10-24 14:46:26 +01:00
1d00723a0f Define USB structures manually for Windows. 2020-10-24 14:45:34 +01:00
5fa566a273 Fix SDHCI function invocations in Windows. 2020-10-24 14:45:04 +01:00
5af5bf93a4 Define Windows storage properties when winioctl.h does not exist. 2020-10-24 14:44:30 +01:00
e006559880 Add modern definitions for Windows. 2020-10-24 14:44:09 +01:00
db26fbdebe Add type definitions on Windows versions because stdint.h is a modern addition. 2020-10-24 14:43:50 +01:00
7b652292c4 Use a temporary buffer on SCSI commands to ensure alignment. 2020-10-24 14:43:15 +01:00
5fbb33edba Move local variables declaration to start of function. 2020-10-24 14:42:50 +01:00
0f037fbf2b Reduce called buffer size in QueryDosDevice as it was not returning a correct value. 2020-10-24 14:41:22 +01:00
95ebde2470 Use sprintf_s in Windows instead of snprintf. 2020-10-24 14:40:11 +01:00
f107a953e5 Sort and fix included files. 2020-10-24 14:37:22 +01:00
ec22a260b2 Fix Windows header sorting in clangformat. 2020-10-24 14:34:44 +01:00
67d511d38b Set JetBrains line separator to \n. 2020-10-24 14:33:48 +01:00
bf04df56ca Add Visual C++ 2005 project file. 2020-10-24 04:23:53 +01:00
3c6906afe9 Code clean-up. 2020-10-24 04:23:01 +01:00