mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
DM: change high RAM start address to 4GB for post-launched VM
ACRN didn't support dynamic memory allocation. SO it would reserve a big page pool and use the GPA as index to get a page to do EPT mapping. In order to save memory, we put high MMIO windows to [4G, 5G]. AFter we support dynamic page allocation for EPT mapping, we move high MMIO windows to where it used to ([256G, 512G]) for 39 bits physical address), we could move high memory to where is used to too ([4G, 4G + size]). Tracked-On: #5913 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
This commit is contained in:
@@ -43,6 +43,8 @@
|
||||
#define LOWRAM_E820_ENTRY 1
|
||||
#define HIGHRAM_E820_ENTRY 6
|
||||
|
||||
#define HIGHRAM_START_ADDR 0x100000000UL /* 4GB */
|
||||
|
||||
/* Defines a single entry in an E820 memory map. */
|
||||
struct e820_entry {
|
||||
/** The base address of the memory range. */
|
||||
|
Reference in New Issue
Block a user