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] get_callback_via for Windows PV drivers

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] get_callback_via for Windows PV drivers
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sun, 30 Sep 2007 14:40:02 +1000
Delivery-date: Sat, 29 Sep 2007 21:41:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C322BAB7.16215%Keir.Fraser@xxxxxxxxxxxx>
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>
References: <AEC6C66638C05B468B556EA548C1A77D01249936@trantor> <C322BAB7.16215%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgA9OzcfY9Gb9pGR2mZngrddXcW4QAHXHZeACtw2sAABAkhcgBS3J4g
Thread-topic: [Xen-devel] get_callback_via for Windows PV drivers
> > I can get bus, dev, and fn, but can't seem to find 'pin' from the
> > information that Windows gives me... if 28 isn't the GSI, then I'll
have
> > to look harder for this 'pin' number in the windows structures...
> 
> Read byte 0x3d in the PCI device config space. That returns the pin
index.

Using 28 as the irq appears to work - the ISR definitely get called by
xen (and locks up if I don't do the right thing with the upcall_pending
flag).

Can you see a problem with doing it that way?

Thanks

James

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