acrn-hypervisor/hypervisor/bsp/uefi/efi
Zide Chen fe6397d9d8 HV: Make AP trampoline code relocatable
V3->V4: Updated function/variable names for accurancy
V2->V3: Changed a few function/variable names to make it less confusing
V1->V2: removed the unneccesary cache flushing

- For UEFI boot, allocate memory for trampoline code in ACRN EFI,
  and pass the pointer to HV through efi_ctx
- For other boot, scan E820 to allocate memory in HV run time
- update_trampoline_code_refs() updates all the references that need the
  absolute PA with the actual load address

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>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
2018-05-15 17:25:58 +08:00
..
boot.c HV: Make AP trampoline code relocatable 2018-05-15 17:25:58 +08:00
boot.h HV: Make AP trampoline code relocatable 2018-05-15 17:25:58 +08:00
efilinux.h efi: clean RuntimeServices code 2018-05-15 17:25:57 +08:00
Makefile UEFI: change the acrn boot flow on uefi platform 2018-05-15 17:19:39 +08:00
malloc.c HV: added memory allocation functions for AP trampoline code relocation 2018-05-15 17:25:58 +08:00
multiboot.h refine: remove redundant data type definition 2018-05-15 17:25:54 +08:00
pe.c initial import 2018-05-11 14:44:28 +08:00
stdlib.h HV: added memory allocation functions for AP trampoline code relocation 2018-05-15 17:25:58 +08:00