mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
hv: Other preparation for trampoline code relocation
- For UEFI boot, allocate memory for trampoline code in ACRN EFI, and pass the pointer to HV through efi_ctx - Correct LOW_RAM_SIZE and LOW_RAM_START in Kconfig and bsp_cfg.h - use trampline_start16_paddr instead of the hardcoded CONFIG_LOW_RAM_START for initial guest GDT and page tables Signed-off-by: Zheng, Gen <gen.zheng@intel.com> Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Acked-by: Xu, Anthony <anthony.xu@intel.com>
This commit is contained in:
@@ -74,15 +74,9 @@ config MEM_LOGLEVEL_DEFAULT
|
||||
int "Default loglevel in memory"
|
||||
default 4
|
||||
|
||||
config LOW_RAM_START
|
||||
hex "Address of the beginning of low RAM region"
|
||||
default 0x00001000 if PLATFORM_SBL
|
||||
default 0x00008000 if PLATFORM_UEFI
|
||||
|
||||
config LOW_RAM_SIZE
|
||||
hex "Size of the low RAM region"
|
||||
default 0x000cf000 if PLATFORM_SBL
|
||||
default 0x00010000 if PLATFORM_UEFI
|
||||
default 0x00010000
|
||||
|
||||
config RAM_START
|
||||
hex "Address of the RAM region assigned to the hypervisor"
|
||||
|
Reference in New Issue
Block a user