mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-08-15 00:23:14 +00:00
Bug fixes
This commit is contained in:
parent
ca59925495
commit
c05947db09
2 changed files with 9 additions and 0 deletions
|
@ -27,6 +27,9 @@ along with RandomX. If not, see<http://www.gnu.org/licenses/>.
|
||||||
#else
|
#else
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
#ifndef MAP_ANONYMOUS
|
||||||
|
#define MAP_ANONYMOUS MAP_ANON
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace RandomX {
|
namespace RandomX {
|
||||||
|
|
|
@ -131,6 +131,12 @@ namespace RandomX {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template
|
||||||
|
void initBlock<true>(const uint8_t*, uint8_t*, uint32_t, const KeysContainer&);
|
||||||
|
|
||||||
|
template
|
||||||
|
void initBlock<false>(const uint8_t*, uint8_t*, uint32_t, const KeysContainer&);
|
||||||
|
|
||||||
template<bool softAes>
|
template<bool softAes>
|
||||||
convertible_t datasetReadLight(addr_t addr, MemoryRegisters& memory) {
|
convertible_t datasetReadLight(addr_t addr, MemoryRegisters& memory) {
|
||||||
convertible_t data;
|
convertible_t data;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue