acrn-hypervisor/hypervisor/boot
dongshen b447ce3d86 hv: add ACPI support for pre-launched VMs
Statically define the per vm RSDP/XSDT/MADT ACPI template tables in vacpi.c,
RSDP/XSDT tables are copied to guest physical memory after checksum is
calculated. For MADT table, first fix up process id/lapic id in its lapic
subtable, then the MADT table's checksum is calculated before it is copies to
guest physical memory.

Add 8-bit checksum function in util.h

Tracked-On: #3601
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
2019-08-29 10:12:25 +08:00
..
guest hv: uart: enable early boot uart 2019-07-26 09:10:06 +08:00
include hv: add ACPI support for pre-launched VMs 2019-08-29 10:12:25 +08:00
acpi_base.c hv: create 8-bit sum function 2019-08-29 10:12:25 +08:00
cmdline.c hv: mmu: add hpa2hva_early API for earlt boot 2019-07-26 09:10:06 +08:00
dmar_info.c HV: enable Kconfig of ACPI_PARSE_ENABLED 2019-05-14 11:53:02 +08:00
reloc.c hv: cleanup some hva/hpa conversion code 2019-03-15 09:03:14 +08:00