FreeBSD/sys/x86/x86/intr_machdep.c
/* Add a description to an active interrupt handler. */
Add a description to an active interrupt handler.
Add a description to an active interrupt handler .
int
intr_describe(u_int vector, void *ih, const char *descr)
{
	struct intsrc *isrc;
	int error;
	isrc = intr_lookup_source(vector);
	if (isrc == NULL)
		return (EINVAL);
	error = intr_event_describe_handler(isrc->is_event, ih, descr);
	if (error)
		return (error);
	intrcnt_updatename(isrc);
	return (0);
}
int intr_describe ( u_int vector , void * ih , const char * descr ) { struct intsrc * isrc ; int error ; isrc = intr_lookup_source ( vector ) ; if ( isrc == NULL ) return ( EINVAL ) ; error = intr_event_describe_handler ( isrc -> is_event , ih , descr ) ; if ( error ) return ( error ) ; intrcnt_updatename ( isrc ) ; return ( 0 ) ; }
Add a description to an active interrupt handler.
Add a description to an active interrupt handler .