acrn-hypervisor/hypervisor/boot/include
Zhao Yakui cee2f8b288 ACRN/HV: Refine the function of init_vboot to initialize the depriv_boot env correctly
Currently when get_rsdp is called, the EFI depriv_boot env is not initialized.
In such case it will fallback to the legacy mechanism of ACPI table.
If the ACPI table based on legacy mechanism is not found, it will fail to get
the ACPI table and then the system will hang.
On the old platform it still can parse the ACPI table from legacy mechanism.
In fact when EFI RSDP exists, the EFI RSDP is preferred instead of legacy ACPI
RSDP.

In order to avoid multiple calling of depriv_init_boot, the init_boot_operations
is renamed and called after X2apic is enabled(early_init_lapic).

Tracked-On: #3184
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
2019-05-30 14:07:57 +08:00
..
guest ACRN/HV: Refine the function of init_vboot to initialize the depriv_boot env correctly 2019-05-30 14:07:57 +08:00
acpi.h HV: hot fix on usage of CONFIG_ACPI_PARSE_ENABLED 2019-05-15 09:31:21 +08:00
reloc.h hv:Move severl variable declaration for boot code 2019-01-25 21:32:21 +08:00