acrn-hypervisor/hypervisor/boot/include/guest
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
..
deprivilege_boot.h reshuffle init_vm_boot_info 2019-05-20 18:49:59 +08:00
direct_boot.h reshuffle init_vm_boot_info 2019-05-20 18:49:59 +08:00
vboot.h ACRN/HV: Refine the function of init_vboot to initialize the depriv_boot env correctly 2019-05-30 14:07:57 +08:00
vboot_info.h reshuffle init_vm_boot_info 2019-05-20 18:49:59 +08:00