VirtualBox

Changeset 34328 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Nov 24, 2010 2:33:57 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68087
Message:

CPUM: updated the CPUID processor feature flags

File:
1 edited

Legend:

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

    r33971 r34328  
    199199    /** Bit 0 - SSE3 - Supports SSE3 or not. */
    200200    unsigned    u1SSE3 : 1;
    201     /** Reserved. */
    202     unsigned    u1Reserved1 : 1;
     201    /** Bit 1 - PCLMULQDQ. */
     202    unsigned    u1PCLMULQDQ : 1;
    203203    /** Bit 2 - DS Area 64-bit layout. */
    204204    unsigned    u1DTE64 : 1;
     
    219219    /** Bit 10 - CNTX-ID - L1 Context ID. */
    220220    unsigned    u1CNTXID : 1;
    221     /** Bit 11 - FMA. */
     221    /** Bit 11 - Reserved. */
     222    unsigned    u1Reserved1 : 1;
     223    /** Bit 12 - FMA. */
    222224    unsigned    u1FMA : 1;
    223     /** Bit 12 - Reserved. */
    224     unsigned    u1Reserved2 : 1;
    225225    /** Bit 13 - CX16 - CMPXCHG16B. */
    226226    unsigned    u1CX16 : 1;
     
    229229    /** Bit 15 - PDCM - Perf/Debug Capability MSR. */
    230230    unsigned    u1PDCM : 1;
    231     /** Reserved. */
    232     unsigned    u2Reserved3 : 2;
     231    /** Bit 16 - Reserved. */
     232    unsigned    u1Reserved2 : 1;
     233    /** Bit 17 - PCID - Process-context identifiers. */
     234    unsigned    u1PCID : 1;
    233235    /** Bit 18 - Direct Cache Access. */
    234236    unsigned    u1DCA : 1;
     
    243245    /** Bit 23 - POPCNT - Supports POPCNT. */
    244246    unsigned    u1POPCNT : 1;
    245     /** Bit 24 - Reserved. */
    246     unsigned    u1Reserved4 : 1;
     247    /** Bit 24 - TSC-Deadline. */
     248    unsigned    u1TSCDEADLINE : 1;
    247249    /** Bit 25 - AES. */
    248250    unsigned    u1AES : 1;
     
    251253    /** Bit 27 - OSXSAVE - Supports OSXSAVE. */
    252254    unsigned    u1OSXSAVE : 1;
    253     /** Reserved. */
    254     unsigned    u4Reserved5 : 4;
     255    /** Bit 28 - AVX - Supports AVX instruction extensions. */
     256    unsigned    u1AVX : 1;
     257    /** Bit 29 - 30 - Reserved */
     258    unsigned    u2Reserved3 : 2;
     259    /** Reserved, always 0. */
     260    unsigned    u1Reserved4 : 1;
    255261} X86CPUIDFEATECX;
    256262/** Pointer to CPUID Feature Information - ECX. */
     
    383389/** ECX Bit 15 - PDCM - Perf/Debug Capability MSR. */
    384390#define X86_CPUID_FEATURE_ECX_PDCM      RT_BIT(15)
     391/** ECX Bit 17 - PCID - Process-context identifiers. */
     392#define X86_CPUID_FEATURE_ECX_PCID      RT_BIT(17)
    385393/** ECX Bit 18 - DCA - Direct Cache Access. */
    386394#define X86_CPUID_FEATURE_ECX_DCA       RT_BIT(18)
     
    395403/** ECX Bit 23 - POPCNT instruction. */
    396404#define X86_CPUID_FEATURE_ECX_POPCNT    RT_BIT(23)
     405/** ECX Bir 24 - TSC-Deadline. */
     406#define X86_CPUID_FEATURE_ECX_TSCDEADL  RT_BIT(24)
    397407/** ECX Bit 25 - AES instructions. */
    398408#define X86_CPUID_FEATURE_ECX_AES       RT_BIT(25)
Note: See TracChangeset for help on using the changeset viewer.

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