acrn-hypervisor/hypervisor/bsp
Chaohong guo 07f14401ec HV: save efi_ctx into HV to use after init_paging()
efi_ctx is passed by EFI stub to hypervisor. The memory was allocated
right after HV binary and marked as Efireserved. But HV is doing a 2MB
alignment in init_paging() and might overwrite the efi_ctx struct or
change the page table attribute. Now, EFI STUB uses Efiloaderdata type
memory and the memory can be re-use by hypervisor/sos after boot time
done. HV should save itself a copy if the content is still needed after
init_paging().

Tracked-On: #2349
Signed-off-by: Chaohong guo <chaohong.guo@intel.com>
Reviewed-by: Zheng, Gen <gen.zheng@intel.com>
2019-01-24 11:59:21 +08:00
..
include HV: modularization to refine boot/bsp related code. 2019-01-08 08:46:15 +08:00
ld hv: enable NX in hypervisor 2018-12-12 12:53:18 +08:00
sbl HV: separate const dmar table definition from sbl 2019-01-08 08:46:15 +08:00
uefi HV: save efi_ctx into HV to use after init_paging() 2019-01-24 11:59:21 +08:00