What's wrong with this:
ULONG CPUID_Result=0;
asm ("movl $1,%%eax;cpuid; "
:"=a"(CPUID_Res ult)
: //Ingen input!
:"%eax","%ebx", "%ecx","%ed x");
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_Res ult)
: //Ingen input!
:"%eax","%ebx", "%ecx","%ed x");
All I want to do is call CPUID with EAX=1 and have to result stored in
CPUID_Result!
Once again TIA!
Comment