qemu_boot: change IVSHMEM memory region to PCI memory region

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
Bowen Wang 2024-02-29 17:29:34 +08:00 committed by Xiang Xiao
parent 99876fa529
commit b12fa7f760
2 changed files with 4 additions and 5 deletions

View File

@ -64,8 +64,8 @@
#define CONFIG_DEVICEPCIE_BASEADDR 0x4010000000
#define CONFIG_DEVICEPCIE_SIZE MB(256)
#define CONFIG_IVSHMEM_BASEADDR 0x8040400000
#define CONFIG_IVSHMEM_SIZE MB(256)
#define CONFIG_PCI_BASEADDR 0x8000000000
#define CONFIG_PCI_SIZE GB(512)
#define CONFIG_LOAD_BASE 0x40280000

View File

@ -68,9 +68,8 @@ static const struct arm_mmu_region g_mmu_regions[] =
CONFIG_DEVICEPCIE_SIZE,
MT_NORMAL | MT_RW | MT_SECURE),
MMU_REGION_FLAT_ENTRY("IVSHMEM",
CONFIG_IVSHMEM_BASEADDR,
CONFIG_IVSHMEM_SIZE,
MMU_REGION_FLAT_ENTRY("PCI",
CONFIG_PCI_BASEADDR, CONFIG_PCI_SIZE,
MT_NORMAL | MT_RW | MT_SECURE),
};