xen: mapcache: Pass the ram_addr offset to xen_map_cache()
authorEdgar E. Iglesias <edgar.iglesias@amd.com>
Tue, 30 Apr 2024 08:14:01 +0000 (10:14 +0200)
committerEdgar E. Iglesias <edgar.iglesias@amd.com>
Sun, 9 Jun 2024 18:16:14 +0000 (20:16 +0200)
commit49a7202979e49c7c9c02461fce497a868ef6b143
treea195f9c147a5a0fefb6ac395cd6b378aa4b7a4cf
parent123acd816dccbd358570ec7ab79c5cb2c863780b
xen: mapcache: Pass the ram_addr offset to xen_map_cache()

Pass the ram_addr offset to xen_map_cache.
This is in preparation for adding grant mappings that need
to compute the address within the RAMBlock.

No functional changes.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/xen/xen-mapcache.c
include/sysemu/xen-mapcache.h
system/physmem.c