acrn-hypervisor/hypervisor/include/arch/x86/guest
Jason Chen CJ 238d8bbaa2 reshuffle init_vm_boot_info
now only SOS need decide boot with de-privilege or direct boot mode, while
for other pre-launched VMs, they should use direct boot mode.

this patch merge boot/guest/direct_boot_info.c &
boot/guest/deprivilege_boot_info.c into boot/guest/vboot_info.c,
and change init_direct_vboot_info() function name to init_general_vm_boot_info().

in init_vm_boot_info(), depend on get_sos_boot_mode(), SOS may choose to init
vm boot info by setting the vm_sw_loader to deprivilege specific one; for SOS
using DIRECT_BOOT_MODE and all other VMS, they will use general_sw_loader as
vm_sw_loader and go through init_general_vm_boot_info() for virtual boot vm
info filling.

this patch also move spurious handler initilization for de-privilege mode from
boot/guest/deprivilege_boot.c to boot/guest/vboot_info.c, and just set it in
deprivilege sw_loader before irq enabling.

Changes to be committed:
	modified:   Makefile
	modified:   arch/x86/guest/vm.c
	modified:   boot/guest/deprivilege_boot.c
	deleted:    boot/guest/deprivilege_boot_info.c
	modified:   boot/guest/direct_boot.c
	renamed:    boot/guest/direct_boot_info.c -> boot/guest/vboot_info.c
	modified:   boot/guest/vboot_wrapper.c
	modified:   boot/include/guest/deprivilege_boot.h
	modified:   boot/include/guest/direct_boot.h
	modified:   boot/include/guest/vboot.h
	new file:   boot/include/guest/vboot_info.h
	modified:   common/vm_load.c
	modified:   include/arch/x86/guest/vm.h

Tracked-On: #1842
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
2019-05-20 18:49:59 +08:00
..
assign.h hv: Remove separate interrupt routine for pre-launched VMs 2019-04-04 17:51:36 +08:00
ept.h hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
guest_memory.h HV: Modularize boot folder 2019-03-14 09:05:53 +08:00
guest_pm.h HV: Register S5 pio handler for dm-launched RTVM 2019-03-29 16:17:44 +08:00
instr_emul.h hv:move instr_emul_ctxt instance to struct vcpu 2019-03-13 14:04:20 +08:00
trusty.h hv: seed: refine header file 2019-03-15 14:09:56 +08:00
ucode.h HV:treewide:rename vcpu data structure 2018-11-05 15:35:49 +08:00
vcpu.h hv: vmsr: enable msr ia32_misc_enable emulation 2019-05-09 16:35:15 +08:00
vcpuid.h hv:cleanup header file for vm.c & vm.h 2019-02-03 13:50:42 +08:00
virtual_cr.h hv:move some files to guest folder 2019-01-30 20:43:04 +08:00
vlapic.h vlapic: refine IPI broadcast to support x2APIC mode 2019-04-25 09:12:16 +08:00
vm_reset.h hv: emulate ACPI reset register for Service OS guest 2019-05-15 11:20:12 +08:00
vm.h reshuffle init_vm_boot_info 2019-05-20 18:49:59 +08:00
vmcs.h hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmexit.h hv: refine guest.h 2019-02-03 13:00:42 +08:00
vmtrr.h modularization: clean up namings in vMTRR module 2018-12-14 09:43:06 +08:00
vmx_io.h hv: emulate ACPI reset register for Service OS guest 2019-05-15 11:20:12 +08:00