Con Kolivas
2d35ac2567
Track all dynamically allocated memory within the work struct by copying work structs in a common place, creating freshly allocated heap ram for all arrays within the copied struct.
...
Clear all work structs from the same place to ensure memory does not leak from arrays within the struct.
Convert the gbt coinbase and stratum strings within the work struct to heap ram.
This will allow arbitrary lengths without an upper limit for the strings, preventing the overflows that happen with GBT.
12 years ago
Con Kolivas
86fd23a305
Convert remaining modminer and bfl uses of usleep to nmsleep.
12 years ago
Paul Sheppard
9f74e650b3
Tidy up device error counts
12 years ago
Kano
fc14b2ee07
MMQ new initialisation (that works) and clocking control
12 years ago
Con Kolivas
b41de69c35
Fix various modminer warnings on mingw.
12 years ago
Con Kolivas
58bba40a03
fds need to be zeroed before set in modminer.
12 years ago
Kano
8f4ccebf0d
remove MMQ unused variable warning
12 years ago
Kano
ad7aa2b382
FPGA - allow long or short device names in detect code + style police
12 years ago
Kano
307d8da034
HW: error counter auto for all devices - ztex code not fixed
12 years ago
Con Kolivas
0a79de9375
Convert the serial autodetect functions to use int instead of char to enumerate devices.
12 years ago
ckolivas
5c7e03084a
Modify te scanhash API to use an int64_t and return -1 on error, allowing zero to be a valid return value.
13 years ago
Luke Dashjr
d4af2d0535
Turn work_restart array into a bool in thr_info
13 years ago
ckolivas
1e9421475c
Timersub is supported on all build platforms so do away with custom timerval_subtract function.
13 years ago
Luke Dashjr
1215da39ee
modminer: Don't delay 2nd+ FPGAs during work restart
...
Add primary_thread boolean to threads to identify a single one as the "primary" thread for shared-resource multithreading.
This is needed since ModMiners use multiple threads to interface with independent hashing components.
13 years ago
Kano
4dee0d049c
FPGA - allow device detect override without an open failure
13 years ago
Luke Dashjr
b76053efea
Bugfix: modminer: Fix unsigned/signed comparison and similar warnings
13 years ago
Kano
913221c373
API add ModMinerQuad support
13 years ago
Luke Dashjr
a78d616bc5
modminer: Temperature sensor improvements
...
Display the temperature of each of the (up to) 4 FPGAs
13 years ago
Luke Dashjr
9f872d1de6
modminer: Make log messages more consistent in format
13 years ago
Kano
86034f87df
ModMiner use valid .name
13 years ago
Luke Dashjr
76f96f4717
New driver: BTCFPGA ModMiner
13 years ago