mirror of
https://codeberg.org/wownero/RandomWOW
synced 2026-03-05 06:07:33 -05:00
randomx_cache and randomx_dataset changed to standard-layout structs
This commit is contained in:
@@ -113,6 +113,10 @@ namespace randomx {
|
||||
typedef void(*DatasetReadFunc)(addr_t, MemoryRegisters&, int_reg_t(®)[RegistersCount]);
|
||||
typedef void(*ProgramFunc)(RegisterFile&, MemoryRegisters&, uint8_t* /* scratchpad */, uint64_t);
|
||||
typedef void(*DatasetInitFunc)(randomx_cache* cache, uint8_t* dataset, uint32_t startBlock, uint32_t endBlock);
|
||||
|
||||
typedef void(*DatasetDeallocFunc)(randomx_dataset*);
|
||||
typedef void(*CacheDeallocFunc)(randomx_cache*);
|
||||
typedef void(*CacheInitializeFunc)(randomx_cache*, const void*, size_t);
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const randomx::RegisterFile& rf);
|
||||
|
||||
Reference in New Issue
Block a user