Added ASM code patching when loading
For CNv2 variants with different iterations and memory size.
This commit is contained in:
parent
492449e9fb
commit
8b9d5cff91
19 changed files with 118 additions and 2034 deletions
|
@ -59,6 +59,9 @@ public:
|
|||
static void init(bool enabled);
|
||||
static void release(cryptonight_ctx **ctx, size_t count, MemInfo &info);
|
||||
|
||||
static void* allocate_executable_memory(size_t size);
|
||||
static void FlushInstructionCache(void* p, size_t size);
|
||||
|
||||
static inline bool isHugepagesAvailable() { return (m_flags & HugepagesAvailable) != 0; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue