S
Spike
What's wrong with this:
ULONG CPUID_Result=0;
asm ("movl $1,%%eax;cpuid;"
:"=a"(CPUID_Result)
: //Ingen input!
:"%eax","%ebx","%ecx","%edx");
All I want to do is call CPUID with EAX=1 and have to result stored in
CPUID_Result!
Once again TIA!
ULONG CPUID_Result=0;
asm ("movl $1,%%eax;cpuid;"
:"=a"(CPUID_Result)
: //Ingen input!
:"%eax","%ebx","%ecx","%edx");
All I want to do is call CPUID with EAX=1 and have to result stored in
CPUID_Result!
Once again TIA!