6 int bind_evtchn_to_irqhandler(unsigned int evtchn
,
7 irqreturn_t (*handler
)(int, void *),
8 unsigned long irqflags
, const char *devname
,
10 int bind_virq_to_irqhandler(unsigned int virq
, unsigned int cpu
,
11 irqreturn_t (*handler
)(int, void *),
12 unsigned long irqflags
, const char *devname
, void *dev_id
);
15 * Common unbind function for all event sources. Takes IRQ to unbind from.
16 * Automatically closes the underlying event channel (even for bindings
17 * made with bind_evtchn_to_irqhandler()).
19 void unbind_from_irqhandler(unsigned int irq
, void *dev_id
);
21 static inline void notify_remote_via_evtchn(int port
)
23 struct evtchn_send send
= { .port
= port
};
24 (void)HYPERVISOR_event_channel_op(EVTCHNOP_send
, &send
);
27 extern void notify_remote_via_irq(int irq
);
28 #endif /* _XEN_EVENTS_H */