acrn-hypervisor/hypervisor/bsp/uefi
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
..
cmdline.c HV: refine cmdline code, move parts into dbg_cmd 2019-01-02 12:15:53 +08:00
uefi.c HV: save efi_ctx into HV to use after init_paging() 2019-01-24 11:59:21 +08:00