]> xenbits.xensource.com Git - qemu-xen.git/commit
physmem: Rename addr1 to more informative mr_addr in flatview_read/write() and similar
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 7 Mar 2024 15:37:07 +0000 (15:37 +0000)
committerPeter Xu <peterx@redhat.com>
Mon, 11 Mar 2024 18:41:40 +0000 (14:41 -0400)
commit4c7c8563191fd65d98cba05352a1fc1fbef6d817
tree9da2d02683a848df082b7bd603242cab5915f532
parent69f7b00d057f8832a841a53d5ee31eb303157398
physmem: Rename addr1 to more informative mr_addr in flatview_read/write() and similar

The calls to flatview_read/write[_continue]() have parameters addr and
addr1 but the names give no indication of what they are addresses of.
Rename addr1 to mr_addr to reflect that it is the translated address
offset within the MemoryRegion returned by flatview_translate().
Similarly rename the parameter in address_space_read/write_cached_slow()

Suggested-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20240307153710.30907-2-Jonathan.Cameron@huawei.com
Signed-off-by: Peter Xu <peterx@redhat.com>
system/physmem.c