FreeBSD/sys/x86/xen/xen_intr.c
/*--------------------------- Public Functions -------------------------------*/
/*------- API comments for these methods can be found in xen/xenintr.h -------*/
Public Functions
API comments for these methods can be found in xen/xenintr.h
Public Functions API comments for these methods can be found in xen / xenintr . h
int
xen_intr_bind_local_port(device_t dev, evtchn_port_t local_port,
    driver_filter_t filter, driver_intr_t handler, void *arg,
    enum intr_type flags, xen_intr_handle_t *port_handlep)
{
	struct xenisrc *isrc;
	int error;
	error = xen_intr_bind_isrc(&isrc, local_port, EVTCHN_TYPE_PORT, dev,
		    filter, handler, arg, flags, port_handlep);
	if (error != 0)
		return (error);
	isrc->xi_close = 0;
	return (0);
}
int xen_intr_bind_local_port ( device_t dev , evtchn_port_t local_port , driver_filter_t filter , driver_intr_t handler , void * arg , enum intr_type flags , xen_intr_handle_t * port_handlep ) { struct xenisrc * isrc ; int error ; error = xen_intr_bind_isrc ( & isrc , local_port , EVTCHN_TYPE_PORT , dev , filter , handler , arg , flags , port_handlep ) ; if ( error != 0 ) return ( error ) ; isrc -> xi_close = 0 ; return ( 0 ) ; }
Public Functions
API comments for these methods can be found in xen/xenintr.h
Public Functions API comments for these methods can be found in xen / xenintr . h
/*
	 * The Event Channel API didn't open this port, so it is not
	 * responsible for closing it automatically on unbind.
	 */