mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-30 23:16:40 +00:00
ioapic: set default polarity setting as high active
high active should be default polarity setting for ioapic RTE Tracked-On: #1269 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
parent
3b88d3c2ac
commit
e49233ba9b
@ -175,8 +175,8 @@ create_rte_for_legacy_irq(uint32_t irq, uint32_t vr)
|
||||
rte.full |= DEFAULT_DELIVERY_MODE;
|
||||
rte.full |= (IOAPIC_RTE_INTVEC & (uint64_t)vr);
|
||||
|
||||
/* FIXME: Fixed to active Low? */
|
||||
rte.full |= IOAPIC_RTE_INTALO;
|
||||
/* Fixed to active high */
|
||||
rte.full |= IOAPIC_RTE_INTAHI;
|
||||
|
||||
/* Dest field: legacy irq fixed to CPU0 */
|
||||
rte.full |= (1UL << IOAPIC_RTE_DEST_SHIFT);
|
||||
@ -200,8 +200,8 @@ create_rte_for_gsi_irq(uint32_t irq, uint32_t vr)
|
||||
rte.full |= DEFAULT_DELIVERY_MODE;
|
||||
rte.full |= (IOAPIC_RTE_INTVEC & (uint64_t)vr);
|
||||
|
||||
/* FIXME: Fixed to active Low? */
|
||||
rte.full |= IOAPIC_RTE_INTALO;
|
||||
/* Fixed to active high */
|
||||
rte.full |= IOAPIC_RTE_INTAHI;
|
||||
|
||||
/* Dest field */
|
||||
rte.full |= ((uint64_t)ALL_CPUS_MASK << IOAPIC_RTE_DEST_SHIFT);
|
||||
|
Loading…
Reference in New Issue
Block a user