FreeBSD/sys/x86/xen/xen_intr.c
/*------------------ Physical Interrupt Source PIC Functions -----------------*/
/*
 * Mask a level triggered interrupt source.
 *
 * \param isrc  The interrupt source to mask (if necessary).
 * \param eoi   If non-zero, perform any necessary end-of-interrupt
 *              acknowledgements.
 */
Physical Interrupt Source PIC Functions
Mask a level triggered interrupt source.

\param isrc  The interrupt source to mask (if necessary).
\param eoi   If non-zero, perform any necessary end-of-interrupt
acknowledgements.
Physical Interrupt Source PIC Functions Mask a level triggered interrupt source . \ param isrc The interrupt source to mask ( if necessary ) . \ param eoi If non - zero perform any necessary end - of - interrupt acknowledgements .
static void
xen_intr_pirq_disable_source(struct intsrc *base_isrc, int eoi)
{
	struct xenisrc *isrc;
	isrc = (struct xenisrc *)base_isrc;
	if (isrc->xi_edgetrigger == 0)
		evtchn_mask_port(isrc->xi_port);
	if (eoi == PIC_EOI)
		xen_intr_pirq_eoi_source(base_isrc);
}
static void xen_intr_pirq_disable_source ( struct intsrc * base_isrc , int eoi ) { struct xenisrc * isrc ; isrc = ( struct xenisrc * ) base_isrc ; if ( isrc -> xi_edgetrigger == 0 ) evtchn_mask_port ( isrc -> xi_port ) ; if ( eoi == PIC_EOI ) xen_intr_pirq_eoi_source ( base_isrc ) ; }
Physical Interrupt Source PIC Functions
 Mask a level triggered interrupt source.
Physical Interrupt Source PIC Functions Mask a level triggered interrupt source .