hv: use int32_t replace int

Since it's typedef in "include/lib/types.h"

Tracked-On: #861
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
Li, Fei1
2018-12-08 00:30:49 +08:00
committed by wenlingz
parent e8f3a2d42c
commit e3fc6c3c79
91 changed files with 472 additions and 471 deletions

View File

@@ -122,7 +122,7 @@ void mmu_modify_or_del(uint64_t *pml4_page, uint64_t vaddr_base, uint64_t size,
* @retval 0 on success
* @retval -ENODEV Don't support EPT or VPID capability
*/
int check_vmx_mmu_cap(void);
int32_t check_vmx_mmu_cap(void);
/**
* @brief VPID allocation
*
@@ -293,7 +293,7 @@ void ept_mr_del(struct acrn_vm *vm, uint64_t *pml4_page, uint64_t gpa,
* @retval -EINVAL fail to handle the EPT violation
* @retval 0 Success to handle the EPT violation
*/
int ept_violation_vmexit_handler(struct acrn_vcpu *vcpu);
int32_t ept_violation_vmexit_handler(struct acrn_vcpu *vcpu);
/**
* @brief EPT misconfiguration handling
*
@@ -302,7 +302,7 @@ int ept_violation_vmexit_handler(struct acrn_vcpu *vcpu);
* @retval -EINVAL fail to handle the EPT misconfig
* @retval 0 Success to handle the EPT misconfig
*/
int ept_misconfig_vmexit_handler(__unused struct acrn_vcpu *vcpu);
int32_t ept_misconfig_vmexit_handler(__unused struct acrn_vcpu *vcpu);
/**
* @}