acrn-hypervisor/hypervisor/arch/x86/guest
Binbin Wu bed6f0b99e hv: set start mode of vcpu
In current code, sos/uos bsp can only start from 64bit mode.

For sbl platform:
This patch start sos bsp from protected mode by default.
CONFIG_START_VM0_BSP_64BIT is defined to allow start sos bsp
from 64bit mode. If a config CONFIG_START_VM0_BSP_64BIT
defined in config file, then sos bsp will start from 64bit mode.
This patch start uos bsp from real mode, which needs the integration
of virtual bootloader (vsbl).

For uefi platform:
This patch sets sos bsp vcpu mode according to the uefi context.
This patch starts uos bsp from protected mode, because vsbl is not ready
to publish for uefi platform yet. After vsbl is ready, can change to
start uos bsp from real mode.

Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
2018-06-01 19:14:13 +08:00
..
guest.c hv: set start mode of vcpu 2018-06-01 19:14:13 +08:00
instr_emul_wrapper.c hv: support gva2gpa in different paging modes 2018-06-01 19:14:13 +08:00
instr_emul_wrapper.h fix MISRA-C 243S 2018-05-31 11:26:13 +08:00
instr_emul.c hv: support gva2gpa in different paging modes 2018-06-01 19:14:13 +08:00
instr_emul.h HV:remove redundant field 'mmio' from 'struct emul_cnx' 2018-05-23 11:43:56 +08:00
pm.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
ucode.c hv: support gva2gpa in different paging modes 2018-06-01 19:14:13 +08:00
vcpu.c hv: set start mode of vcpu 2018-06-01 19:14:13 +08:00
vioapic.c HV: debug: stop using ## __VA_ARGS__ 2018-05-29 14:13:44 +08:00
vlapic_priv.h hv: vlapic_timer: refine vlapic tscdeadline timer 2018-05-15 18:03:33 +08:00
vlapic.c lapic: continuous LVT registers as an array 2018-05-30 13:52:11 +08:00
vm.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vmcall.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vmsr.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vpic.c HV: debug: stop using ## __VA_ARGS__ 2018-05-29 14:13:44 +08:00