mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-15 06:44:58 +00:00
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> |
||
---|---|---|
.. | ||
clearlinux | ||
boot.c | ||
boot.h | ||
efilinux.h | ||
Makefile | ||
malloc.c | ||
multiboot.h | ||
pe.c | ||
stdlib.h |