FreeBSD/sys/x86/xen/xen_intr.c
/*
 * Perform any necessary end-of-interrupt acknowledgements.
 *
 * \param isrc  The interrupt source to EOI.
 */
Perform any necessary end-of-interrupt acknowledgements.
\param isrc  The interrupt source to EOI.
Perform any necessary end - of - interrupt acknowledgements . \ param isrc The interrupt source to EOI .
static void
xen_intr_pirq_eoi_source(struct intsrc *base_isrc)
{
	struct xenisrc *isrc;
	int error;
	isrc = (struct xenisrc *)base_isrc;
	if (xen_test_bit(isrc->xi_pirq, xen_intr_pirq_eoi_map)) {
		struct physdev_eoi eoi = { .irq = isrc->xi_pirq };
		error = HYPERVISOR_physdev_op(PHYSDEVOP_eoi, &eoi);
		if (error != 0)
			panic("Unable to EOI PIRQ#%d: %d\n",
			    isrc->xi_pirq, error);
	}
}
static void xen_intr_pirq_eoi_source ( struct intsrc * base_isrc ) { struct xenisrc * isrc ; int error ; isrc = ( struct xenisrc * ) base_isrc ; if ( xen_test_bit ( isrc -> xi_pirq , xen_intr_pirq_eoi_map ) ) { struct physdev_eoi eoi = { . irq = isrc -> xi_pirq } ; error = HYPERVISOR_physdev_op ( PHYSDEVOP_eoi , & eoi ) ; if ( error != 0 ) panic ( " \n " , isrc -> xi_pirq , error ) ; } }
Perform any necessary end-of-interrupt acknowledgements.
Perform any necessary end - of - interrupt acknowledgements .