hw/pci-host/designware: Add 'host_mem' variable for clarity
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 12 Oct 2023 11:09:45 +0000 (13:09 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Sep 2024 18:10:49 +0000 (20:10 +0200)
commit50e4291d62970adaa1668aeb4e7dbc7c67739504
tree20ce6f1760bf8ac9490afcd564b7f01fbf96feca
parent13a07eb146c860f85f6fe665dd492f4f89146ba8
hw/pci-host/designware: Add 'host_mem' variable for clarity

designware_pcie_root_realize() uses get_system_memory()
as the "host side memory region", as opposed to the "PCI
side" one. Introduce the 'host_mem' variable for clarity.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>
Message-Id: <20231012121857.31873-4-philmd@linaro.org>
hw/pci-host/designware.c