VirtualBox

Changeset 3942 in vbox for trunk/include


Ignore:
Timestamp:
Jul 31, 2007 1:30:53 PM (18 years ago)
Author:
vboxsync
Message:

fixed detecting the CPU vendor (in DevAPIC) by introducing symbolic constants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/x86.h

    r3941 r3942  
    278278 * @{
    279279 */
    280 #define X86_CPUID_VENDOR_INTEL_      0x756e6547      /* Genu */
    281 #define X86_CPUID_VENDOR_INTEL_2        0x49656e69      /* ineI */
    282 #define X86_CPUID_VENDOR_INTEL_3        0x6c65746e      /* ntel */
    283 
    284 #define X86_CPUID_VENDOR_AMD_        0x68747541      /* Auth */
    285 #define X86_CPUID_VENDOR_AMD_2          0x69746e65      /* enti */
    286 #define X86_CPUID_VENDOR_AMD_3          0x444d4163      /* cAMD */
     280#define X86_CPUID_VENDOR_INTEL_EBX      0x756e6547      /* Genu */
     281#define X86_CPUID_VENDOR_INTEL_ECX      0x6c65746e      /* ntel */
     282#define X86_CPUID_VENDOR_INTEL_EDX      0x49656e69      /* ineI */
     283
     284#define X86_CPUID_VENDOR_AMD_EBX        0x68747541      /* Auth */
     285#define X86_CPUID_VENDOR_AMD_ECX        0x444d4163      /* cAMD */
     286#define X86_CPUID_VENDOR_AMD_EDX        0x69746e65      /* enti */
    287287/** @} */
    288288
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette