Bug fixes

This commit is contained in:
tevador 2018-12-23 14:25:22 +01:00
parent ca59925495
commit c05947db09
2 changed files with 9 additions and 0 deletions

View file

@ -27,6 +27,9 @@ along with RandomX. If not, see<http://www.gnu.org/licenses/>.
#else
#include <sys/types.h>
#include <sys/mman.h>
#ifndef MAP_ANONYMOUS
#define MAP_ANONYMOUS MAP_ANON
#endif
#endif
namespace RandomX {

View file

@ -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>
convertible_t datasetReadLight(addr_t addr, MemoryRegisters& memory) {
convertible_t data;