FreeBSD/sys/x86/xen/xen_intr.c
/**
 * Enable signal delivery for an event channel port on the
 * specified CPU.
 *
 * \param port  The event channel port to unmask.
 *
 * This API is used to manage the port<=>CPU binding of event
 * channel handlers.
 *
 * \note  This operation does not guarantee that event delivery
 *        is enabled for this event channel port.  The port must
 *        also be globally enabled.  See evtchn_unmask().
 */
Enable signal delivery for an event channel port on the
specified CPU.

\param port  The event channel port to unmask.

This API is used to manage the port<=>CPU binding of event
channel handlers.

\note  This operation does not guarantee that event delivery
is enabled for this event channel port.  The port must
also be globally enabled.
Enable signal delivery for an event channel port on the specified CPU . \ param port The event channel port to unmask . This API is used to manage the port< = > CPU binding of event channel handlers . \ note This operation does not guarantee that event delivery is enabled for this event channel port . The port must also be globally enabled .
static inline void
evtchn_cpu_unmask_port(u_int cpu, evtchn_port_t port)
{
	struct xen_intr_pcpu_data *pcpu;
	pcpu = DPCPU_ID_PTR(cpu, xen_intr_pcpu);
	xen_set_bit(port, pcpu->evtchn_enabled);
}
static inline void evtchn_cpu_unmask_port ( u_int cpu , evtchn_port_t port ) { struct xen_intr_pcpu_data * pcpu ; pcpu = DPCPU_ID_PTR ( cpu , xen_intr_pcpu ) ; xen_set_bit ( port , pcpu -> evtchn_enabled ) ; }
Enable signal delivery for an event channel port on the
 specified CPU.
Enable signal delivery for an event channel port on the specified CPU .