cleanup vmcs source and header files

remove no need included header files and macro definitions

Changes to be committed:
	modified:   arch/x86/vmcs.c
	modified:   include/arch/x86/vmcs.h

Tracked-On: #1842
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
Jason Chen CJ
2018-12-17 14:05:00 +08:00
committed by wenlingz
parent 731c4836dd
commit bed82dd3f8
2 changed files with 2 additions and 13 deletions

View File

@@ -10,10 +10,10 @@
#define VM_SUCCESS 0
#define VM_FAIL -1
#define VMX_VMENTRY_FAIL 0x80000000U
#ifndef ASSEMBLER
#define VMX_VMENTRY_FAIL 0x80000000U
static inline uint32_t vmx_eoi_exit(uint32_t vector)
{
return (VMX_EOI_EXIT0_FULL + ((vector >> 6U) * 2U));