acrn-hypervisor/hypervisor/include/lib
Victor Sun ce9d5e8779 HV: remove efi support for SOS
Provide EFI support for SOS could cause weird issues. For example, hypervisor
works based on E820 table whereras it's possible that the memory map from EFI
table is not aligned with E820 table. The SOS kernel kaslr will try to find the
random address for extracted kernel image in EFI table first. So it's possible
that none-RAM in E820 is picked for extracted kernel image. This will make
kernel boot fail.

This patch removes EFI support for SOS by not passing struct boot_efi_info to
SOS kernel zeropage, and reserve a memory to store RSDP table for SOS and pass
the RSDP address to SOS kernel zeropage for SOS to locate ACPI table.

The patch requires SOS kernel version be high than 4.20, otherwise the kernel
might fail to find the RSDP.

Tracked-On: #5626

Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
2021-02-25 09:34:29 +08:00
..
crypto hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
errno.h HV: Reset physical core of lapic_pt vm when shutdown 2019-04-22 19:58:20 +08:00
hash.h hv: Add 64 bits hash function 2020-05-20 16:04:16 +08:00
list.h hv: ptirq: refine find_ptirq_entry by hashing 2020-05-20 16:04:16 +08:00
rtl.h HV: enable multiboot module string as kernel bootargs 2020-06-08 13:30:04 +08:00
sprintf.h fix "Casting operation to a pointer" 2018-11-06 13:37:33 +08:00
types.h hv: support xsave in context switch 2019-12-02 09:31:12 +08:00
util.h hv: add functions to initialize vmsix capability 2020-10-26 08:44:13 +08:00