search for: cpuid_output

Displaying 1 result from an estimated 1 matches for "cpuid_output".

2007 Nov 02
0
[PATCH] PVWin: Fix warnings
...npci.c --- a/xenpci/xenpci.c Thu Nov 01 16:21:24 2007 -0700 +++ b/xenpci/xenpci.c Fri Nov 02 09:52:30 2007 -0700 @@ -96,29 +96,6 @@ DriverEntry(PDRIVER_OBJECT DriverObject, return status; } -typedef struct { - unsigned nEAX; - unsigned nEBX; - unsigned nECX; - unsigned nEDX; -} CPUID_Output, *PCPUID_Output; - -static void CPUID(PCPUID_Output pResult, int nFunction) -{ - __asm { - mov eax, nFunction - xor ebx, ebx - xor ecx, ebx - xor edx, ebx - cpuid - mov edi, pResult - mov [edi.nEAX], eax - mov [edi.nEBX], ebx - mov [edi.nECX], ecx - mov [edi.nEDX], ed...