CPUID: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
s/dword/uint32_t/g
Drop on disputed to mark this thing as something I'll review later
Line 139: Line 139:


== Using CPUID from GCC ==
== Using CPUID from GCC ==

{{Disputed}}


CPUID can be invoked with various request codes (in eax) and will return values in general registers (much as a built-in service interrupt). The following code is made Public Domain out of Clicker's x86/cpu.h
CPUID can be invoked with various request codes (in eax) and will return values in general registers (much as a built-in service interrupt). The following code is made Public Domain out of Clicker's x86/cpu.h