]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/virt.c
hw/arm/virt: Introduce virt_set_high_memmap() helper
authorGavin Shan <gshan@redhat.com>
Wed, 14 Dec 2022 14:27:04 +0000 (14:27 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Dec 2022 11:18:19 +0000 (11:18 +0000)
commit4af6b6edece5ef273d29972d53547f823d2bc1c0
treee38bb5726326ae816060d94536d369cb7197116c
parentae2b87341b5ddb0dcb1b3f2d4f586ef18de75873
hw/arm/virt: Introduce virt_set_high_memmap() helper

This introduces virt_set_high_memmap() helper. The logic of high
memory region address assignment is moved to the helper. The intention
is to make the subsequent optimization for high memory region address
assignment easier.

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-2-gshan@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c