mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
fix x86 dir integer violations
Fix x86 directory violations which related to integer problems, some of problems are skipped because of ldra's false positive. V1->V2 1.modified the code style 2.fix all macro VM_EXIT_IO_INSTRUCTION related Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -448,9 +448,9 @@ static void get_rte_info(union ioapic_rte rte, bool *mask, bool *irr,
|
||||
*mask = ((rte.full & IOAPIC_RTE_INTMASK) == IOAPIC_RTE_INTMSET);
|
||||
*irr = ((rte.full & IOAPIC_RTE_REM_IRR) == IOAPIC_RTE_REM_IRR);
|
||||
*phys = ((rte.full & IOAPIC_RTE_DESTMOD) == IOAPIC_RTE_DESTPHY);
|
||||
*delmode = rte.full & IOAPIC_RTE_DELMOD;
|
||||
*delmode = (uint32_t)(rte.full & IOAPIC_RTE_DELMOD);
|
||||
*level = ((rte.full & IOAPIC_RTE_TRGRLVL) != 0UL);
|
||||
*vector = rte.full & IOAPIC_RTE_INTVEC;
|
||||
*vector = (uint32_t)(rte.full & IOAPIC_RTE_INTVEC);
|
||||
*dest = (uint32_t)(rte.full >> APIC_ID_SHIFT);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user