mirror of https://github.com/proxmox/mirror_qemu
memory: s/mask/clear/ cpu_physical_memory_mask_dirty_range
Now all functions use the same wording that bitops/bitmap operations Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com>master
parent
94833c896d
commit
ace694cccc
2
exec.c
2
exec.c
|
@ -748,7 +748,7 @@ void cpu_physical_memory_reset_dirty(ram_addr_t start, ram_addr_t end,
|
||||||
length = end - start;
|
length = end - start;
|
||||||
if (length == 0)
|
if (length == 0)
|
||||||
return;
|
return;
|
||||||
cpu_physical_memory_mask_dirty_range(start, length, client);
|
cpu_physical_memory_clear_dirty_range(start, length, client);
|
||||||
|
|
||||||
if (tcg_enabled()) {
|
if (tcg_enabled()) {
|
||||||
tlb_reset_dirty_range_all(start, end, length);
|
tlb_reset_dirty_range_all(start, end, length);
|
||||||
|
|
|
@ -100,9 +100,9 @@ static inline void cpu_physical_memory_set_dirty_range(ram_addr_t start,
|
||||||
xen_modified_memory(addr, length);
|
xen_modified_memory(addr, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void cpu_physical_memory_mask_dirty_range(ram_addr_t start,
|
static inline void cpu_physical_memory_clear_dirty_range(ram_addr_t start,
|
||||||
ram_addr_t length,
|
ram_addr_t length,
|
||||||
unsigned client)
|
unsigned client)
|
||||||
{
|
{
|
||||||
ram_addr_t addr, end;
|
ram_addr_t addr, end;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue