hw/arm/virt: Introduce virt_get_high_memmap_enabled() helper
authorGavin Shan <gshan@redhat.com>
Wed, 14 Dec 2022 14:27:05 +0000 (14:27 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Dec 2022 11:18:19 +0000 (11:18 +0000)
commita5cb1350b19a5c2a58ab4edddf609ed429c13085
tree341fb200cddfc2aa21ec7be2f75c063e9016e907
parentfa245799b9407fc7b561da185b3d889df5e16a88
hw/arm/virt: Introduce virt_get_high_memmap_enabled() helper

This introduces virt_get_high_memmap_enabled() helper, which returns
the pointer to vms->highmem_{redists, ecam, mmio}. The pointer will
be used in the subsequent patches.

No functional change intended.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Tested-by: Zhenyu Zhang <zhenyzha@redhat.com>
Message-id: 20221029224307.138822-5-gshan@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c