acrn-hypervisor/hypervisor/arch/x86/guest
Victor Sun 649406b049 HV: refine location of platform_acpi_info header
platform_acpi_info.h should be BOARD specific so move the header file
to configs/$(CONFIG_BOARD)/ folder.

So the target acpi info file detect process is:

Compiler search for $(CONFIG_BOARD)_acpi_info.h under
hypervisor/arch/x86/$(CONFIG_BOARD)/ first (the file is supposed to be
generated by offline tool so it is not included in original source), if
found, then the file is the target acpi info file. If not and at the
same time the ENFORCE_VALIDATED_ACPI_INFO Kconfig was set, the compiler
will stop and hint user to add target acpi info file by offline tool.
If ENFORCE_VALIDATED_ACPI_INFO was unset, then compiler will continue to
search for platform_acpi_info.h as target acpi info file under
hypervisor/arch/x86/$(CONFIG_BOARD) folder (with this file we could bypass
ENFORCE_VALIDATED_ACPI_INFO check and benifit for development). If this
file is not exist, then hypervisor/arch/x86/configs/platform_acpi_info.h
will be included as final target acpi info.

The process should work for UEFI path also, with a valid platform acpi
info file, S3/S5 should work on UEFI platform.

Tracked-On: #2291

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-03-08 10:34:14 +08:00
..
assign.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
ept.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
guest_memory.c hv: pae: fix bug when calculate PDPT address 2019-02-21 18:54:22 +08:00
instr_emul.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
io_emul.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
pm.c HV: refine location of platform_acpi_info header 2019-03-08 10:34:14 +08:00
trusty.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
ucode.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vcpu.c HV: CAT: support config CAT from acrn_vm_config 2019-02-28 11:22:29 +08:00
vcpuid.c hv:move several tsc APIs to timer.c 2019-03-07 20:23:22 +08:00
virq.c hv: simplify get_primary_vcpu and vcpu_from_vid 2019-03-04 13:45:02 +08:00
virtual_cr.c hv: pae: fix a issue of loading pdptrs when handle cr4 2019-02-21 18:54:22 +08:00
vlapic_priv.h hv: self-IPI APIC register in x2APIC mode of guest vLAPIC 2018-11-02 13:48:43 +08:00
vlapic.c hv: refine vlapic_calc_dest() 2019-03-06 11:43:51 +08:00
vm.c hv: do EPT mapping only for physical memory backed GPA on pre-launched VMs 2019-03-05 10:05:24 +08:00
vmcall.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmcs.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmexit.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmsr.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmtrr.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmx_asm.S hv: refine guest.h 2019-02-03 13:00:42 +08:00