acrn-hypervisor/hypervisor/arch/x86
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
..
boot hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
configs hv: add ACPI support for pre-launched VMs 2019-08-29 10:12:25 +08:00
guest hv: add ACPI support for pre-launched VMs 2019-08-29 10:12:25 +08:00
lib hv: move 3 files to lib & arch folder 2019-06-14 14:22:51 +08:00
seed HV: fix violations touched type conversion 2019-07-11 09:16:09 +08:00
cat.c hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
cpu_caps.c hv: cleanup vmcs.h 2019-08-22 14:13:15 +08:00
cpu_state_tbl.c HV: add board specific cpu state table to support Px Cx 2019-07-29 20:25:16 +08:00
cpu.c HV: Remove the mixed usage of inline assembly in wait_sync_change 2019-07-26 10:55:58 +08:00
e820.c hv: cleanup some hva/hpa conversion code 2019-03-15 09:03:14 +08:00
gdt.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
idt.S move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
init.c HV: change param type of init_pcpu_pre 2019-07-17 13:48:00 +08:00
ioapic.c HV: fix violations touched type conversion 2019-07-11 09:16:09 +08:00
irq.c hv: fix Violations touched ACRN Coding Guidelines 2019-08-15 09:47:11 +08:00
Kconfig HV: move vCOM setting from Kconfig to board configs 2019-08-22 13:12:54 +08:00
lapic.c hv: fix some potential array overflow risk 2019-07-12 09:41:15 +08:00
mmu.c hv: ept: flush cache for modified ept entries 2019-08-26 10:47:17 +08:00
notify.c hv: fix some potential array overflow risk 2019-07-12 09:41:15 +08:00
page.c hv: ept: flush cache for modified ept entries 2019-08-26 10:47:17 +08:00
pagetable.c hv: ept: flush cache for modified ept entries 2019-08-26 10:47:17 +08:00
pm.c hv:move some APIs related host reset to pm.c 2019-08-22 14:09:18 +08:00
sched.S replace arch_switch_to with pure asm code instead of inline asm 2019-01-25 11:39:47 +08:00
security.c HV: check security mitigation support for SSBD 2019-07-10 10:55:34 +08:00
sgx.c hv: sgx: add basic support to init sgx resource for vm 2019-05-29 11:24:13 +08:00
timer.c softirq: disable interrupt when modify timer_list 2019-08-01 15:45:02 +08:00
trampoline.c hv: delay enabling SMEP/SMAP until the end of PCPU initialization 2019-06-10 11:35:15 +08:00
vmx.c hv:fix "no prototype for non-static function" 2019-07-09 10:36:03 +08:00
vtd.c hv: vtd: remove global cache invalidation per vm 2019-08-26 10:47:17 +08:00
wakeup.S hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00