mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-25 04:15:34 +00:00
9d64a89acf
softmmu requires more functions to be thread-safe, because translation blocks can be invalidated from e.g. notdirty callbacks. Probably the same holds for user-mode emulation, it's just that no one has ever tried to produce a coherent locking there. This patch will guide the introduction of more tb_lock and tb_unlock calls for system emulation. Note that after this patch some (most) of the mentioned functions are still called outside tb_lock/tb_unlock. The next one will rectify this. Backports commit 7d7500d99895f888f97397ef32bb536bb0df3b74 from qemu |
||
---|---|---|
.. | ||
cpu.h | ||
object.h | ||
qom-qobject.h |