acrn-hypervisor/hypervisor/include/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 move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
guest modulization: move virtual cpuid stuff into guest dir 2018-12-13 09:08:02 +08:00
abl_seed_parse.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
apicreg.h hv: replace CPU_PAGE_SIZE with PAGE_SIZE 2018-12-03 15:14:57 +08:00
assign.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
cpu.h modularization: hypervisor initilization component 2018-12-14 08:56:15 +08:00
cpufeatures.h HV: add CPU capabilities detection for L1TF mitigation 2018-11-01 11:21:15 +08:00
cpuid.h modulization: move virtual cpuid stuff into guest dir 2018-12-13 09:08:02 +08:00
e820.h HV: improve e820 interfaces and their usages 2018-12-12 09:12:12 +08:00
gdt.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
host_pm.h hv: fix included file not protected with #define 2018-12-07 16:39:58 +08:00
hv_arch.h modulization: move virtual cpuid stuff into guest dir 2018-12-13 09:08:02 +08:00
idt.h move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
init.h modularization: hypervisor initilization component 2018-12-14 08:56:15 +08:00
io.h hv: change the param type of mmio_write** 2018-12-04 09:10:54 +08:00
ioapic.h hv: ioapic: clean up HV_DEBUG usage 2018-11-23 12:21:02 +08:00
ioreq.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
irq.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
lapic.h doc: hv: add comments to irq APIs for documentation 2018-11-02 15:34:36 -07:00
mmu.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
msr.h hv: code cleanup: msr.h 2018-11-21 14:45:43 +08:00
mtrr.h doc: replace return with retval 2018-11-30 14:55:17 +08:00
multiboot.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
page.h hv: fix 'Unused procedure parameter' 2018-12-04 18:28:32 +08:00
per_cpu.h hv: replace CPU_PAGE_SIZE with PAGE_SIZE 2018-12-03 15:14:57 +08:00
pgtable.h doc: replace return with retval 2018-11-30 14:55:17 +08:00
sbl_seed_parse.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
timer.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
trampoline.h modularization: boot component -- move functions 2018-12-03 09:09:44 +08:00
trusty.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmexit.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmx.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vtd.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
zeropage.h hv: minimize the case of "identifier reuse" 2018-12-07 15:21:39 +08:00