Identifying CPU: Difference between revisions

From AMC-OS Developers
Jump to navigation Jump to search
(Created page with "==Introduction== Identifying an Intel-compatible x86 CPU is done in several steps : * Check that we have a 32-bits 80386 minimum CPU. * Check the presence of the CPUID instru...")
 
mNo edit summary
Line 11: Line 11:


Intel describes the complete process of CPU identification in [http://www.intel.com/content/www/us/en/processors/processor-identification-cpuid-instruction-note.html Application Note 485].
Intel describes the complete process of CPU identification in [http://www.intel.com/content/www/us/en/processors/processor-identification-cpuid-instruction-note.html Application Note 485].
AMD describes their specific CPUID implementation [http://support.amd.com/us/Embedded_TechDocs/25481.pdf here]

Revision as of 00:01, 15 August 2012

Introduction

Identifying an Intel-compatible x86 CPU is done in several steps :

  • Check that we have a 32-bits 80386 minimum CPU.
  • Check the presence of the CPUID instruction.
    • If CPUID is supported, use the instruction to get CPU information and supported instructions.
    • If CPUID is not supported, reset the CPU to get its signature.
  • Calculate the operating frequency of the CPU by timing the execution of a sequence of instructions.

Additional information

Intel describes the complete process of CPU identification in Application Note 485.

AMD describes their specific CPUID implementation here