acrn-hypervisor/hypervisor/bsp/uefi
Chaohong guo b3b34fe2ad 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: #2035
Signed-off-by: Chaohong guo <chaohong.guo@intel.com>
2019-01-24 08:27:55 +08:00
..
cmdline.c HV: fix bug adapt uart mmio to bdf for HV cmdline 2018-12-25 14:47:31 +08:00
uefi.c HV: save efi_ctx into HV to use after init_paging() 2019-01-24 08:27:55 +08:00