VirtualBox

Changeset 8884 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 16, 2008 11:56:49 AM (17 years ago)
Author:
vboxsync
Message:

Use ASMGetCpuFamily/Model/Stepping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CPUM.cpp

    r8868 r8884  
    11341134                        "CLFLUSH Size:                    %d\n"
    11351135                        "Brand ID:                        %#04x\n",
    1136                         (uEAX >> 8) & 0xf, (uEAX >> 20) & 0x7f, ((uEAX >> 8) & 0xf) + (((uEAX >> 8) & 0xf) == 0xf ? (uEAX >> 20) & 0x7f : 0),
    1137                         (uEAX >> 4) & 0xf, (uEAX >> 16) & 0x0f, ((uEAX >> 4) & 0xf) | ((((uEAX >> 8) & 0xf) == 0xf ? (uEAX >> 16) & 0x0f : 0) << 4),
    1138                         (uEAX >> 0) & 0xf,
     1136                        (uEAX >> 8) & 0xf, (uEAX >> 20) & 0x7f, ASMGetCpuFamily(uEAX),
     1137                        (uEAX >> 4) & 0xf, (uEAX >> 16) & 0x0f, ASMGetCpuModel(uEAX),
     1138                        ASMGetCpuStepping(uEAX),
    11391139                        (Guest.ebx >> 24) & 0xff,
    11401140                        (Guest.ebx >> 16) & 0xff,
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