modulization: move functions related with cpu caps into cpu_caps.c

move cpu caps related functions like capability init/detect/check
in cpu.c & mmu.c into a new file cpu_caps.c

Changes to be committed:
	modified:   developer-guides/hld/hv-memmgt.rst
	modified:   ../hypervisor/Makefile
	modified:   ../hypervisor/arch/x86/cpu.c
	new file:   ../hypervisor/arch/x86/cpu_caps.c
	modified:   ../hypervisor/arch/x86/mmu.c
	modified:   ../hypervisor/arch/x86/vmx_asm.S
	modified:   ../hypervisor/include/arch/x86/cpu.h
	new file:   ../hypervisor/include/arch/x86/cpu_caps.h
	modified:   ../hypervisor/include/arch/x86/guest/vm.h
	modified:   ../hypervisor/include/arch/x86/mmu.h
	modified:   ../hypervisor/include/arch/x86/vmcs.h

Tracked-On: #1842
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Jason Chen CJ
2018-12-10 13:47:39 +08:00
committed by wenlingz
parent b8ffac8bac
commit 746fbe147d
11 changed files with 588 additions and 538 deletions

View File

@@ -418,9 +418,6 @@ Here is a list of major memory related APIs in HV:
EPT/VPID Capability Checking
----------------------------
.. doxygenfunction:: check_vmx_mmu_cap
:project: Project ACRN
Data Transferring between hypervisor and VM
-------------------------------------------