acrn-hypervisor/efi-stub
Chaohong guo 3fee32c0bb EFI: Allocate EFI boot related struct from EFI allocation pool
Current EFI boot related structs are allocated right after HV binary, and
marked as EfiResered. In fact, the memory should be reclaimed and
managed by HV once EFI boot is done, Moreover, HV is doing 2M alignment,
which is overwriting this allocated memory. This patch is to allocate EFI
info from EFI allocation pool and marked as EFiloaderdata, so that the
memory is used by HV, also, it will reduce the fragmentation.

Tracked-On: #2035
Signed-off-by: Chaohong guo <chaohong.guo@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
2019-01-24 08:27:55 +08:00
..
clearlinux modulization:move out efi dir from hypervisor 2018-12-17 15:46:23 +08:00
boot.c EFI: Allocate EFI boot related struct from EFI allocation pool 2019-01-24 08:27:55 +08:00
boot.h EFI: Allocate EFI boot related struct from EFI allocation pool 2019-01-24 08:27:55 +08:00
efilinux.h EFI: Allocate 2M aligned memory for hypervisor image 2019-01-24 08:27:55 +08:00
Makefile Makefile: keep files used for debug target 2019-01-08 11:23:37 +08:00
malloc.c EFI: Allocate 2M aligned memory for hypervisor image 2019-01-24 08:27:55 +08:00
multiboot.h HV/DM: Unify the usage of aligned for structure definition with alignment 2018-12-25 14:47:31 +08:00
pe.c modulization:move out efi dir from hypervisor 2018-12-17 15:46:23 +08:00
stdlib.h modulization:move out efi dir from hypervisor 2018-12-17 15:46:23 +08:00