acrn-hypervisor/hypervisor/include/arch/x86
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
..
boot hv:Move severl variable declaration for boot code 2019-01-25 21:32:21 +08:00
guest hv: simplify get_primary_vcpu and vcpu_from_vid 2019-03-04 13:45:02 +08:00
abl_seed_parse.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
apicreg.h hv: Use Interrupt Remapping format for programming interrupt sources 2019-02-01 15:54:55 +08:00
board.h HV: CAT: add platform specified info for CLOS 2019-02-28 11:22:29 +08:00
cat.h HV: CAT: support config CAT from acrn_vm_config 2019-02-28 11:22:29 +08:00
cpu_caps.h hv: security: remove superfluous prototype 2019-01-14 15:33:05 +08:00
cpu.h HV: cpu: add msr_read_pcpu()& msr_write_pcpu() 2019-01-31 11:33:15 +08:00
cpufeatures.h HV: CAT: capability enumaration 2019-02-28 11:22:29 +08:00
cpuid.h [hv] set ECX.bit31 to indicate the presence of a hypervisor 2019-03-04 13:43:48 +08:00
default_acpi_info.h HV: refine location of platform_acpi_info header 2019-03-08 10:34:14 +08:00
e820.h hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
gdt.h hv: coding style: remove no real declaration for external variable 2018-12-20 20:20:08 +08:00
host_pm.h hv:Move pm state structure to pm.h 2019-01-07 11:23:22 +08:00
hv_arch.h HV: Modularize vtd.c to remove acrn_vm usage 2019-02-06 08:53:46 +08:00
idt.h hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
init.h hv: init: minor fix related to header file 2019-01-11 21:53:09 +08:00
io_req.h hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
io.h hv:modulization for IO Emulation 2019-01-21 13:49:54 +08:00
ioapic.h hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
irq.h hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
lapic.h hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
mmu.h hv: pae: fix bug when calculate PDPT address 2019-02-21 18:54:22 +08:00
msr.h HV: CAT: add platform specified info for CLOS 2019-02-28 11:22:29 +08:00
multiboot.h hv:cleanup console.h 2019-02-27 11:12:48 +08:00
page.h hv: add support of EPT mapping of high MMIO 2019-02-28 18:33:11 +08:00
per_cpu.h hv:cleanup header file for per_cpu.h 2019-02-21 10:38:30 +08:00
pgtable.h hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
sbl_seed_parse.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
security.h Make ibrs_type as internal variable 2018-12-19 09:07:14 +08:00
timer.h hv:move several tsc APIs to timer.c 2019-03-07 20:23:22 +08:00
trampoline.h hv:Move severl variable declaration for boot code 2019-01-25 21:32:21 +08:00
vm_config.h HV: vm_configs array refinement 2019-03-01 10:32:49 +08:00
vmx.h hv: rename MACROs 'VMX_CRx_MASK" 2019-02-01 16:49:39 +08:00
vtd.h HV: Modularize vtd.c to remove acrn_vm usage 2019-02-06 08:53:46 +08:00
zeropage.h hv: minimize the case of "identifier reuse" 2018-12-07 15:21:39 +08:00