unicorn/qemu
Paolo Bonzini 1b1f82cef7
exec: invert return value of cpu_physical_memory_get_clean, rename
While it is obvious that cpu_physical_memory_get_dirty returns true even if
a single page is dirty, the same is not true for cpu_physical_memory_get_clean;
one would expect that it returns true only if all the pages are clean, but
it actually looks for even one clean page. (By contrast, the caller of that
function, cpu_physical_memory_range_includes_clean, has a good name).

To clarify, rename the function to cpu_physical_memory_all_dirty and return
true if _all_ the pages are dirty. This is the opposite of the previous
meaning, because "all are 1" is the same as "not (any is 0)", so we have to
modify cpu_physical_memory_range_includes_clean as well

Backports commit 72b47e79cef36ed6ffc718f10e21001d7ec2a66f from qemu
2018-02-13 09:54:12 -05:00
..
default-configs arm64eb: add support for ARM64 big endian. 2017-04-24 23:30:01 +08:00
docs docs: clarify memory region lifecycle 2018-02-12 15:11:21 -05:00
fpu softfloat: expand out STATUS macro 2018-02-12 13:43:13 -05:00
hw target-i386: disable LINT0 after reset 2018-02-12 21:07:36 -05:00
include exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
qapi
qobject
qom qom: Fix object_property_add_alias() with [*] 2018-02-12 16:33:58 -05:00
scripts
target-arm unicorn_arm: m68k/translate: Build fixes 2018-02-13 09:15:46 -05:00
target-i386 target-i386: Fix signedness of MSR_IA32_APICBASE_BASE 2018-02-13 08:17:18 -05:00
target-m68k unicorn_arm: m68k/translate: Build fixes 2018-02-13 09:15:46 -05:00
target-mips target-mips: save cpu state before calling MSA load and store helpers 2018-02-12 16:31:17 -05:00
target-sparc target-*: Increment num_insns immediately after tcg_gen_insn_start 2018-02-11 12:46:30 -05:00
tcg tcg: add TCG_TARGET_TLB_DISPLACEMENT_BITS 2018-02-13 08:28:29 -05:00
util
aarch64.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
aarch64eb.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
accel.c
arm.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
armeb.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
CODING_STYLE
configure tcg: Drop ia64 host support 2018-02-04 18:33:02 -05:00
COPYING
COPYING.LIB
cpu-exec.c exec: make iotlb RCU-friendly 2018-02-12 15:20:39 -05:00
cpus.c
cputlb.c cputlb: remove useless arguments to tlb_unprotect_code_phys, rename 2018-02-13 09:07:41 -05:00
exec.c exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
gen_all_header.sh arm64eb: add support for ARM64 big endian. 2017-04-24 23:30:01 +08:00
glib_compat.c
HACKING
header_gen.py exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
ioport.c memory: Define API for MemoryRegionOps to take attrs and return status 2018-02-12 17:17:27 -05:00
LICENSE
m68k.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
Makefile
Makefile.objs cleanup qemu/Makefile.objs 2017-01-21 21:50:12 +08:00
Makefile.target tcg: Move some opcode generation functions out of line 2018-02-09 08:10:00 -05:00
memory_mapping.c
memory.c memory: track DIRTY_MEMORY_CODE in mr->dirty_log_mask 2018-02-13 08:55:42 -05:00
mips64.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
mips64el.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
mips.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
mipsel.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
powerpc.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
qapi-schema.json
qemu-log.c
qemu-timer.c
rules.mak
softmmu_template.h Add MemTxAttrs to the IOTLB 2018-02-12 18:38:38 -05:00
sparc64.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
sparc.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00
tcg-runtime.c
translate-all.c translate-all: make less of tb_invalidate_phys_page_range depend on is_cpu_write_access 2018-02-13 09:18:49 -05:00
translate-all.h translate-all: remove unnecessary argument to tb_invalidate_phys_range 2018-02-13 09:04:51 -05:00
unicorn_common.h
VERSION
vl.c
vl.h
x86_64.h exec: invert return value of cpu_physical_memory_get_clean, rename 2018-02-13 09:54:12 -05:00