win-pvdrivers

changeset 545:4698fce07251

Fixed stupid bug in xen detection.
author James Harper <james.harper@bendigoit.com.au>
date Sun Mar 08 09:52:01 2009 +1100 (2009-03-08)
parents ce50420a2adf
children 4041cb7d409c
files xenpci/memory.c
line diff
     1.1 --- a/xenpci/memory.c	Wed Mar 04 17:37:33 2009 +1100
     1.2 +++ b/xenpci/memory.c	Sun Mar 08 09:52:01 2009 +1100
     1.3 @@ -14,7 +14,7 @@ hvm_get_stubs(PXENPCI_DEVICE_DATA xpdd)
     1.4  
     1.5    for (base = 0x40000000; base < 0x40001000; base += 0x100)
     1.6    {
     1.7 -    __cpuid(cpuid_output, 0x40000000);
     1.8 +    __cpuid(cpuid_output, base);
     1.9      *(ULONG*)(xensig + 0) = cpuid_output[1];
    1.10      *(ULONG*)(xensig + 4) = cpuid_output[2];
    1.11      *(ULONG*)(xensig + 8) = cpuid_output[3];