acrn-hypervisor/hypervisor/arch/x86
Jason Chen CJ 2d469a5e5f modularization: hypervisor initilization component
hypervisor initilization component triggered by boot component,
and it calls different components initilization functions from
the highest layer.

this patch added init.c and move reorged cpu init functions into
it, keep hardware management functions in cpu.c but move other
components' init function into init.c.

the hypervisor initilization components will call:
- init_cpu_pre
- init_cpu_post
- init_bsp
- init_debug_pre
- init_debug_post
- init_guest
- init_passthru
- enter_guest_mode

the hypervisor initilization component include files:
arch/x86/init.c
include/arch/x86/init.h

this component is higest layer, so there is no reverse dependencies for it.

v2:
- separate into 2 patches, 1 for reorg, 1 for pure move.

Tracked-On: #1842
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
2018-12-14 08:56:15 +08:00
..
boot hv: enable NX in hypervisor 2018-12-12 12:53:18 +08:00
configs Makefile: separate PLATFORM into BOARD+FIRMWARE 2018-12-12 13:23:28 +08:00
guest modulization: move virtual cpuid stuff into guest dir 2018-12-13 09:08:02 +08:00
assign.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
cpu_state_tbl.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
cpu.c modularization: hypervisor initilization component 2018-12-14 08:56:15 +08:00
e820.c HV: rename e820_entries to e820_entries_count 2018-12-12 09:12:12 +08:00
ept.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
gdt.c fix "Procedure is not pure assembler" 2018-11-13 16:28:58 +08:00
idt.S move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
init.c modularization: hypervisor initilization component 2018-12-14 08:56:15 +08:00
io.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
ioapic.c hv: change the param type of mmio_write** 2018-12-04 09:10:54 +08:00
irq.c move idt fixup out of cpu_primary.S 2018-12-12 09:07:43 +08:00
Kconfig HV: replace serial PCI MMIO base with BDF config 2018-12-03 13:20:35 +08:00
lapic.c hv: lapic: fix a theoretic infinite loop when clear lapic isr 2018-11-22 12:44:21 +08:00
mmu.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
mtrr.c hv: fix one MISRA-C violation in mtrr.c 2018-12-06 10:54:01 +08:00
notify.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
page.c hv: minimize the case of "identifier reuse" 2018-12-07 15:21:39 +08:00
pagetable.c hv: mmu: replace dynamic memory allocation in memory 2018-11-02 13:15:48 +08:00
pm.c hv: remove the theoretic infinite loop 2018-12-05 13:17:38 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
static_checks.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
timer.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
trampoline.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
trusty.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
virq.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmexit.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmx_asm.S hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmx.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vtd.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
wakeup.S hv: fix 'User name starts with underscore' 2018-09-30 14:45:37 +08:00