[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] KeGetCurrentProcessorNumber returning 256 under windows x64

  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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.



Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.