WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Re: Please pull xen-ia64-unstable

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>
Subject: RE: [Xen-devel] Re: Please pull xen-ia64-unstable
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 9 Nov 2005 10:07:13 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 09 Nov 2005 02:07:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXkdXw8kYNBFHW7RAm39LlFmLtdHgAWrFFA
Thread-topic: [Xen-devel] Re: Please pull xen-ia64-unstable
>From: Keir Fraser
>Okay, pulled through. I noticed that the event-channel interfaces still
>cause problems (bind_virq_to_irq in particular). I've had another go at
>rationalising the binding interface in light of this, so you now need
>to implement:
>  bind_evtchn_to_irq --- same as it ever was
>  bind_virq_to_irqhandler --- replaces bind_virq_to_irq
>  bind_ipi_to_irqhandler --- replaces bind_ipi_to_irq
>  unbind_from_irqhandler --- common unbind function that replaces
>unbind_evtchn_from_irqhandler, unbind_virq_from_irq and
>unbind_ipi_from_irq
>
>This interface eliminates all evtchn-related ia64 ifdefs in common
code.
>
>  -- Keir

Keir, thanks for your change on that which does clear things a lot for
us. On IA64, there's no callback implemented and all the events are
bound to single physical irq vector. In that case, evtchn equals to
'irq' and bind_evtchn_to_irq can simply return evtchn directly for IA64.
So it's good to see above new interfaces hiding evtchn<->irq
relationship behind.

Thanks,
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>