mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-25 08:55:38 +00:00
fc7b95d06a
The cpu_physical_memory_reset_dirty() function is sometimes used together with cpu_physical_memory_get_dirty(). This is not atomic since two separate accesses to the dirty memory bitmap are made. Turn cpu_physical_memory_reset_dirty() and cpu_physical_memory_clear_dirty_range_type() into the atomic cpu_physical_memory_test_and_clear_dirty(). Backports commit 03eebc9e3246b9b3f5925aa41f7dfd7c1e467875 from qemu |
||
---|---|---|
.. | ||
exec | ||
fpu | ||
hw | ||
qapi | ||
qemu | ||
qom | ||
sysemu | ||
config.h | ||
elf.h | ||
glib_compat.h | ||
qemu-common.h |