All of lore.kernel.org
 help / color / mirror / Atom feed
* bind_caller_port_to_irqhandler & unbind_from_irqhandler
@ 2013-06-12 13:06 Sébastien Frémal
  2013-06-12 13:17 ` Wei Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Frémal @ 2013-06-12 13:06 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 547 bytes --]

Hello,

I'm trying to compile the project XenLoop but it's using deprecated
functions. I succeeded to adapt most of the code, but there are two
functions for which I can't find current implementations :

bind_caller_port_to_irqhandler(op.port, bf_callback, SA_SAMPLE_RANDOM,
"bf_listener", arg);
unbind_from_irqhandler(irq, dev_id);

I found that it was included in evtchn.h or xen_intr.h but it's no longer
the case.

Do you know how to replace these two lines to make it compatible with the
current Xen please ?

Best regards,

Sebastien Fremal

[-- Attachment #1.2: Type: text/html, Size: 725 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bind_caller_port_to_irqhandler & unbind_from_irqhandler
  2013-06-12 13:06 bind_caller_port_to_irqhandler & unbind_from_irqhandler Sébastien Frémal
@ 2013-06-12 13:17 ` Wei Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Wei Liu @ 2013-06-12 13:17 UTC (permalink / raw)
  To: Sébastien Frémal; +Cc: wei.liu2, xen-devel

On Wed, Jun 12, 2013 at 03:06:07PM +0200, Sébastien Frémal wrote:
> Hello,
> 
> I'm trying to compile the project XenLoop but it's using deprecated
> functions. I succeeded to adapt most of the code, but there are two
> functions for which I can't find current implementations :
> 
> bind_caller_port_to_irqhandler(op.port, bf_callback, SA_SAMPLE_RANDOM,
> "bf_listener", arg);
> unbind_from_irqhandler(irq, dev_id);
> 
> I found that it was included in evtchn.h or xen_intr.h but it's no longer
> the case.
> 
> Do you know how to replace these two lines to make it compatible with the
> current Xen please ?
> 

Have a look at bind_evtchn_to_irqhandler and friends. You should be able
to find them in include/xen/events.h.


Wei.

> Best regards,
> 
> Sebastien Fremal

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-12 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-12 13:06 bind_caller_port_to_irqhandler & unbind_from_irqhandler Sébastien Frémal
2013-06-12 13:17 ` Wei Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.