mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-22 10:45:06 +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;
|
||||
}
|
||||
|
||||
# ifdef XMRIG_FIX_RYZEN
|
||||
xmrig::Rx::setMainLoopBounds(code + prologueSize, code + epilogueOffset);
|
||||
# endif
|
||||
|
||||
codePos = prologueSize;
|
||||
memcpy(code + codePos - 48, &pcfg.eMask, sizeof(pcfg.eMask));
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue