mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-02 20:35:32 +00:00
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> |
||
---|---|---|
.. | ||
debug | ||
guest | ||
assign.c | ||
cpu_primary.S | ||
cpu_secondary.S | ||
cpu_state_tbl.c | ||
cpu.c | ||
cpuid.c | ||
ept.c | ||
gdt.c | ||
idt.S | ||
interrupt.c | ||
intr_lapic.c | ||
intr_main.c | ||
io.c | ||
ioapic.c | ||
irq.c | ||
mmu.c | ||
notify.c | ||
retpoline-thunk.S | ||
softirq.c | ||
timer.c | ||
trusty.c | ||
vmexit.c | ||
vmx_asm.S | ||
vmx.c | ||
vtd.c |