mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-27 07:46:53 +00:00
DM: change 64-bit mmio address space to 256G-512G for post-launched VM
DM maps 64-bit mmio BARs of vdev into 4G-5G, for post-launched VMs. At native platform, 64-bit MMIO BARs which have 39-bit address, are always mapped into 256G-512G address space. Change PCI_EMUL_MEMBASE64 to 256G, change PCI_EMUL_MEMLIMIT64 to 512G. So that the 64-bit vdev BARs of post-launched VMs have same address space with native platform. Tracked-On: #5913 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
parent
50c1292365
commit
5ceae97ab4
@ -45,8 +45,8 @@
|
|||||||
|
|
||||||
#define PCI_EMUL_ECFG_BASE 0xE0000000UL /* 3.5GB */
|
#define PCI_EMUL_ECFG_BASE 0xE0000000UL /* 3.5GB */
|
||||||
|
|
||||||
#define PCI_EMUL_MEMBASE64 0x100000000UL /* 4GB */
|
#define PCI_EMUL_MEMBASE64 0x4000000000UL /* 256GB */
|
||||||
#define PCI_EMUL_MEMLIMIT64 0x140000000UL /* 5GB */
|
#define PCI_EMUL_MEMLIMIT64 0x8000000000UL /* 512GB */
|
||||||
|
|
||||||
#define SOFTWARE_SRAM_MAX_SIZE 0x00800000UL
|
#define SOFTWARE_SRAM_MAX_SIZE 0x00800000UL
|
||||||
#define SOFTWARE_SRAM_BASE_GPA (PCI_EMUL_MEMBASE32 - SOFTWARE_SRAM_MAX_SIZE)
|
#define SOFTWARE_SRAM_BASE_GPA (PCI_EMUL_MEMBASE32 - SOFTWARE_SRAM_MAX_SIZE)
|
||||||
|
Loading…
Reference in New Issue
Block a user