mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-22 18:54:43 +00:00
Fix build.
This commit is contained in:
parent
f00769f758
commit
ac4086b273
2 changed files with 3 additions and 2 deletions
|
@ -385,7 +385,9 @@ namespace randomx {
|
||||||
*p = (*p & 0xFF000000U) | 0x0077F8C5U;
|
*p = (*p & 0xFF000000U) | 0x0077F8C5U;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ifdef XMRIG_FIX_RYZEN
|
||||||
xmrig::Rx::setMainLoopBounds(code + prologueSize, code + epilogueOffset);
|
xmrig::Rx::setMainLoopBounds(code + prologueSize, code + epilogueOffset);
|
||||||
|
# endif
|
||||||
|
|
||||||
codePos = prologueSize;
|
codePos = prologueSize;
|
||||||
memcpy(code + codePos - 48, &pcfg.eMask, sizeof(pcfg.eMask));
|
memcpy(code + codePos - 48, &pcfg.eMask, sizeof(pcfg.eMask));
|
||||||
|
|
|
@ -65,10 +65,9 @@ public:
|
||||||
private:
|
private:
|
||||||
static void msrInit(const RxConfig &config);
|
static void msrInit(const RxConfig &config);
|
||||||
static void msrDestroy();
|
static void msrDestroy();
|
||||||
|
|
||||||
# ifdef XMRIG_FIX_RYZEN
|
|
||||||
static void setupMainLoopExceptionFrame();
|
static void setupMainLoopExceptionFrame();
|
||||||
|
|
||||||
|
# ifdef XMRIG_FIX_RYZEN
|
||||||
static thread_local std::pair<const void*, const void*> m_mainLoopBounds;
|
static thread_local std::pair<const void*, const void*> m_mainLoopBounds;
|
||||||
# endif
|
# endif
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue