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

[Xen-devel] KeGetCurrentProcessorNumber returning 256 under windows x64

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] KeGetCurrentProcessorNumber returning 256 under windows x64
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 24 Jan 2008 10:04:41 +1100
Delivery-date: Wed, 23 Jan 2008 15:06:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcheFFXpoO3nPAJLTGyUR8qEymBjzw==
Thread-topic: KeGetCurrentProcessorNumber returning 256 under windows x64
Under windows 2003 x64, a call to KeGetCurrentProcessorNumber is
returning 256 in the ISR for my GPL PV drivers... Xen's MAX_VIRT_CPUS is
defined as 32 under this architecture, so when I go to look up the per
cpu data for that interrupt, we crash and burn.

I'm going to mask it with 31 for now (I'm just testing under UP), but
this doesn't sound like an ideal solution...

I'm running Xen 3.1.1 on an AMD dual core cpu.

Thanks

James

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] KeGetCurrentProcessorNumber returning 256 under windows x64, James Harper <=