Sébastien Frémal
2013-Jun-12 13:06 UTC
bind_caller_port_to_irqhandler & unbind_from_irqhandler
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/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