qemu_boot: change IVSHMEM memory region to PCI memory region
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
parent
99876fa529
commit
b12fa7f760
@ -64,8 +64,8 @@
|
|||||||
#define CONFIG_DEVICEPCIE_BASEADDR 0x4010000000
|
#define CONFIG_DEVICEPCIE_BASEADDR 0x4010000000
|
||||||
#define CONFIG_DEVICEPCIE_SIZE MB(256)
|
#define CONFIG_DEVICEPCIE_SIZE MB(256)
|
||||||
|
|
||||||
#define CONFIG_IVSHMEM_BASEADDR 0x8040400000
|
#define CONFIG_PCI_BASEADDR 0x8000000000
|
||||||
#define CONFIG_IVSHMEM_SIZE MB(256)
|
#define CONFIG_PCI_SIZE GB(512)
|
||||||
|
|
||||||
#define CONFIG_LOAD_BASE 0x40280000
|
#define CONFIG_LOAD_BASE 0x40280000
|
||||||
|
|
||||||
|
@ -68,9 +68,8 @@ static const struct arm_mmu_region g_mmu_regions[] =
|
|||||||
CONFIG_DEVICEPCIE_SIZE,
|
CONFIG_DEVICEPCIE_SIZE,
|
||||||
MT_NORMAL | MT_RW | MT_SECURE),
|
MT_NORMAL | MT_RW | MT_SECURE),
|
||||||
|
|
||||||
MMU_REGION_FLAT_ENTRY("IVSHMEM",
|
MMU_REGION_FLAT_ENTRY("PCI",
|
||||||
CONFIG_IVSHMEM_BASEADDR,
|
CONFIG_PCI_BASEADDR, CONFIG_PCI_SIZE,
|
||||||
CONFIG_IVSHMEM_SIZE,
|
|
||||||
MT_NORMAL | MT_RW | MT_SECURE),
|
MT_NORMAL | MT_RW | MT_SECURE),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user