HV:common:fix "integer type violations"

fix integer type violations,keep some violations which
related to hypcall and msix_entry_index.

V1->V2:1.modified API_MAJOR_VERSION from Makefile
       2.sync acrn_common.h changed to device model

Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Huihuang Shi
2018-07-17 14:16:06 +08:00
committed by wenlingz
parent aa2b2d80d4
commit f2774e496b
12 changed files with 60 additions and 60 deletions

View File

@@ -164,10 +164,10 @@ struct acrn_set_ioreq_buffer {
} __aligned(8);
/** Interrupt type for acrn_irqline: inject interrupt to IOAPIC */
#define ACRN_INTR_TYPE_ISA 0
#define ACRN_INTR_TYPE_ISA 0U
/** Interrupt type for acrn_irqline: inject interrupt to both PIC and IOAPIC */
#define ACRN_INTR_TYPE_IOAPIC 1
#define ACRN_INTR_TYPE_IOAPIC 1U
/**
* @brief Info to assert/deassert/pulse a virtual IRQ line for a VM
@@ -266,7 +266,7 @@ struct acrn_vm_pci_msix_remap {
* layout below 1M, DM add this address to E280 reserved range to make sure
* there is no overlap for the address 0xef000 usage.
*/
#define GUEST_CFG_OFFSET 0xef000
#define GUEST_CFG_OFFSET 0xef000UL
/**
* @brief Info The power state data of a VCPU.