mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-28 12:05:59 +00:00
hv: EFI can load Hypervisor to address other than COMNFIG_RAM_START
- UEFI: change __emalloc() function to allocate from any available memory under 4G - Define CONFIG_RAM_START to the lowest possible address 1M, making sure HV can only be relocated to higher address Signed-off-by: Zheng Gen <gen.zheng@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Reviewed-by: Yin fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -94,7 +94,7 @@ config LOW_RAM_SIZE
|
||||
config RAM_START
|
||||
hex "Address of the RAM region assigned to the hypervisor"
|
||||
default 0x6e000000 if PLATFORM_SBL
|
||||
default 0x20000000 if PLATFORM_UEFI
|
||||
default 0x00100000 if PLATFORM_UEFI
|
||||
|
||||
config RAM_SIZE
|
||||
hex "Size of the RAM region assigned to the hypervisor"
|
||||
|
Reference in New Issue
Block a user