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

@@ -502,7 +502,7 @@ struct iommu_domain;
* @pre domain != NULL
*
*/
int assign_iommu_device(struct iommu_domain *domain, uint8_t bus, uint8_t devfun);
int32_t assign_iommu_device(struct iommu_domain *domain, uint8_t bus, uint8_t devfun);
/**
* @brief Unassign a device specified by bus & devfun from a iommu domain .
@@ -519,7 +519,7 @@ int assign_iommu_device(struct iommu_domain *domain, uint8_t bus, uint8_t devfun
* @pre domain != NULL
*
*/
int unassign_iommu_device(const struct iommu_domain *domain, uint8_t bus, uint8_t devfun);
int32_t unassign_iommu_device(const struct iommu_domain *domain, uint8_t bus, uint8_t devfun);
/**
* @brief Create a iommu domain for a VM specified by vm_id.
@@ -596,7 +596,7 @@ void resume_iommu(void);
* @retval <0 on failure
*
*/
int init_iommu(void);
int32_t init_iommu(void);
/**
* @brief Init VM0 domain of iommu.