mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user