mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-19 08:17:39 +00:00
tcg: Note requirement on atomic direct jump patching
Backports commit 10b4f4855537dd421e193a7d0416513116370558 from qemu
This commit is contained in:
parent
87c3382dc8
commit
c5b234ed1f
|
@ -230,6 +230,7 @@ static inline void tlb_flush_by_mmuidx(CPUState *cpu, ...)
|
||||||
|| defined(__sparc__) || defined(__aarch64__) \
|
|| defined(__sparc__) || defined(__aarch64__) \
|
||||||
|| defined(__s390x__) || defined(__mips__) \
|
|| defined(__s390x__) || defined(__mips__) \
|
||||||
|| defined(CONFIG_TCG_INTERPRETER)
|
|| defined(CONFIG_TCG_INTERPRETER)
|
||||||
|
/* NOTE: Direct jump patching must be atomic to be thread-safe. */
|
||||||
#define USE_DIRECT_JUMP
|
#define USE_DIRECT_JUMP
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue