mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-08 16:36:58 +00:00
In current code, VM0 BSP start mode is hardcoded, in this patch VM0 BSP start mode is decided by the boot context prepared by bootloader/BIOS. In current code, VM0 BSP VMCS is override only on UEFI platform. In this patch, VM0 BSP VMCS is override on both SBL & UEFI platforms. Also restructure the code of guest init code. In this patch, a vcpu run_context is initilaized first according to vcpu mode. Then write the value to vmcs according to run_context value. Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
gpr.h | ||
guest_pm.h | ||
guest.h | ||
mptable.h | ||
ucode.h | ||
vcpu.h | ||
vioapic.h | ||
vlapic.h | ||
vm0_boot.h | ||
vm.h | ||
vpic.h |