unicorn/qemu/include
Stefan Hajnoczi fc7b95d06a
memory: replace cpu_physical_memory_reset_dirty() with test-and-clear
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
2018-02-13 11:25:45 -05:00
..
exec memory: replace cpu_physical_memory_reset_dirty() with test-and-clear 2018-02-13 11:25:45 -05:00
fpu softfloat: expand out STATUS macro 2018-02-12 13:43:13 -05:00
hw target-i386: clear bsp bit when designating bsp 2018-02-12 16:40:35 -05:00
qapi platform.h move #3 2017-01-21 00:13:21 +11:00
qemu bitmap: add atomic test and clear 2018-02-13 10:02:12 -05:00
qom exec: make iotlb RCU-friendly 2018-02-12 15:20:39 -05:00
sysemu ffs() is redundant 2017-01-21 11:11:22 +08:00
config.h import 2015-08-21 15:04:50 +08:00
elf.h fix merge conflicts 2017-03-10 21:04:33 +08:00
glib_compat.h platform.h move #3 2017-01-21 00:13:21 +11:00
qemu-common.h fix conflicts 2017-01-21 11:06:05 +08:00