mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 13:59:18 +00:00
DM: wrap ASSERT/DEASSERT IRQ line with Set/Clear IRQ line
- remove ASSERT & DEASSET IRQ line IOCTLs - remove PULSE IRQ line IOCTLs, use set/clear IRQ line instead. - Use IC_SET_IRQLINE to set or clear IRQ line Tracked-On: #861 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
committed by
Xie, Nanlin
parent
e12f88b8c7
commit
b686b562f4
@@ -49,7 +49,7 @@ atkbdc_assert_kbd_intr(struct atkbdc_base *base)
|
||||
{
|
||||
if ((base->ram[0] & KBD_ENABLE_KBD_INT) != 0) {
|
||||
base->kbd.irq_active = true;
|
||||
vm_isa_pulse_irq(base->ctx, base->kbd.irq, base->kbd.irq);
|
||||
vm_set_gsi_irq(base->ctx, base->kbd.irq, GSI_RAISING_PULSE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ atkbdc_assert_aux_intr(struct atkbdc_base *base)
|
||||
{
|
||||
if ((base->ram[0] & KBD_ENABLE_AUX_INT) != 0) {
|
||||
base->aux.irq_active = true;
|
||||
vm_isa_pulse_irq(base->ctx, base->aux.irq, base->aux.irq);
|
||||
vm_set_gsi_irq(base->ctx, base->aux.irq, GSI_RAISING_PULSE);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user