qemu/hw/isa/isa-bus.c
/*
 * isa_get_irq() returns the corresponding qemu_irq entry for the i8259.
 *
 * This function is only for special cases such as the 'ferr', and
 * temporary use for normal devices until they are converted to qdev.
 */
isa_get_irq() returns the corresponding qemu_irq entry for the i8259.
This function is only for special cases such as the 'ferr', and
temporary use for normal devices until they are converted to qdev.
isa_get_irq () returns the corresponding qemu_irq entry for the i8259 . This function is only for special cases such as the ' ferr ' and temporary use for normal devices until they are converted to qdev .
qemu_irq isa_get_irq(ISADevice *dev, int isairq)
{
    assert(!dev || ISA_BUS(qdev_get_parent_bus(DEVICE(dev))) == isabus);
    if (isairq < 0 || isairq > 15) {
        hw_error("isa irq %d invalid", isairq);
    }
    return isabus->irqs[isairq];
}
qemu_irq isa_get_irq ( ISADevice * dev , int isairq ) { assert ( ! dev || ISA_BUS ( qdev_get_parent_bus ( DEVICE ( dev ) ) ) == isabus ) ; if ( isairq < 0 || isairq > 15 ) { hw_error ( " " , isairq ) ; } return isabus -> irqs [ isairq ] ; }
isa_get_irq() returns the corresponding qemu_irq entry for the i8259.
isa_get_irq () returns the corresponding qemu_irq entry for the i8259 .