Commit Graph

45 Commits

Author SHA1 Message Date
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
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
01f86f4d08 Add unimplemented win32 code. 2020-03-13 12:01:28 +00:00
dfd56c83df Remove unneeded slim functions. 2020-03-01 19:47:15 +00:00
1f98e89f4c Code style. 2020-03-01 17:02:54 +00:00
675872bbda Rename project files. 2020-03-01 06:00:35 +00:00
e1bc701311 Rename structures. 2020-03-01 05:52:58 +00:00
6b224c60a3 Rename more macros. 2020-03-01 05:50:46 +00:00
c384986506 Rename macros. 2020-03-01 05:48:20 +00:00
06944ade67 Rename include file. 2020-03-01 05:46:10 +00:00
e95ceac219 Rename comments. 2020-03-01 05:44:49 +00:00
4c30357650 Update copyright date. 2020-01-03 17:42:13 +00:00
8f146de2b5 Implement GetUsbData for win32. 2019-10-27 20:24:15 +00:00
a66feec1eb Implement GetSdhciRegisters for win32. 2019-10-27 15:40:47 +00:00
8bb988d617 Implement GetDeviceType for win32. 2019-10-27 15:08:18 +00:00
b0d06c4d97 Implement SDHCI for win32. 2019-10-27 14:43:46 +00:00
d48d19ff76 Check existence of NT DDK structures and create them otherwise. 2019-10-27 13:50:46 +00:00
1340749053 Add ATA LBA48 for Win32. 2019-10-27 13:34:00 +00:00
bfec359d76 Add ATA LBA28 for Win32. 2019-10-27 13:26:20 +00:00
cc6cd5a5ca Add ATA CHS for Win32. 2019-10-27 13:23:47 +00:00
a3cdb24556 Add timing for Win32. 2019-10-27 12:36:25 +00:00
9bfea0ad31 Implement SPTD in Win32. 2019-10-27 12:30:53 +00:00
2e4c60a03f Add missing include 2019-10-27 12:29:48 +00:00
b447a2728d Add functions for device commands for win32. 2019-10-27 03:58:15 +00:00
25c22d0582 Implement list devices for win32. 2019-10-27 03:30:13 +00:00
dce7153d7b Get Windows version and architecture. 2019-10-27 01:59:05 +01:00
407078cefe Implement AmIRoot for win32. 2019-10-27 00:14:48 +01:00
f891b1c4c3 Add library from cmake. 2019-10-27 00:14:09 +01:00
e690948568 Implement win32 network code. 2019-10-27 00:02:22 +01:00
0f416c3ce0 Add hello packet for win32, pending getting operating system values. 2019-10-26 22:39:23 +01:00
8ada7fb4dc Add win32 target. 2019-10-26 22:26:53 +01:00