Fix build.

This commit is contained in:
XMRig 2019-12-28 02:00:08 +07:00
parent f00769f758
commit ac4086b273
No known key found for this signature in database
GPG key ID: 446A53638BE94409
2 changed files with 3 additions and 2 deletions

View file

@ -385,7 +385,9 @@ namespace randomx {
*p = (*p & 0xFF000000U) | 0x0077F8C5U;
}
# ifdef XMRIG_FIX_RYZEN
xmrig::Rx::setMainLoopBounds(code + prologueSize, code + epilogueOffset);
# endif
codePos = prologueSize;
memcpy(code + codePos - 48, &pcfg.eMask, sizeof(pcfg.eMask));

View file

@ -65,10 +65,9 @@ public:
private:
static void msrInit(const RxConfig &config);
static void msrDestroy();
# ifdef XMRIG_FIX_RYZEN
static void setupMainLoopExceptionFrame();
# ifdef XMRIG_FIX_RYZEN
static thread_local std::pair<const void*, const void*> m_mainLoopBounds;
# endif
};