FreeBSD/sys/x86/xen/xen_intr.c
/*------------------- Virtual 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.
 */
Virtual 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.
Virtual 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_disable_source(struct intsrc *base_isrc, int eoi)
{
	struct xenisrc *isrc;
	isrc = (struct xenisrc *)base_isrc;
	isrc->xi_masked = !!evtchn_test_and_set_mask(isrc->xi_port);
}
static void xen_intr_disable_source ( struct intsrc * base_isrc , int eoi ) { struct xenisrc * isrc ; isrc = ( struct xenisrc * ) base_isrc ; isrc -> xi_masked = ! ! evtchn_test_and_set_mask ( isrc -> xi_port ) ; }
Virtual Interrupt Source PIC Functions
 Mask a level triggered interrupt source.
Virtual Interrupt Source PIC Functions Mask a level triggered interrupt source .
/*
	 * NB: checking if the event channel is already masked is
	 * needed because the event channel user-space device
	 * masks event channels on it's filter as part of it's
	 * normal operation, and those shouldn't be automatically
	 * unmasked by the generic interrupt code. The event channel
	 * device will unmask them when needed.
	 */