VirtualBox

Changeset 8885 in vbox for trunk/src/VBox/VMM/CPUM.cpp


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

Use ASMGetCpuFamily/Model/Stepping (for the extended one too).

File:
1 edited

Legend:

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

    r8884 r8885  
    13081308                        "Stepping:                        %d\n"
    13091309                        "Brand ID:                        %#05x\n",
    1310                         (uEAX >> 8) & 0xf, (uEAX >> 20) & 0x7f, ((uEAX >> 8) & 0xf) + (((uEAX >> 8) & 0xf) == 0xf ? (uEAX >> 20) & 0x7f : 0),
    1311                         (uEAX >> 4) & 0xf, (uEAX >> 16) & 0x0f, ((uEAX >> 4) & 0xf) | (((uEAX >> 4) & 0xf) == 0xf ? (uEAX >> 16) & 0x0f : 0),
    1312                         (uEAX >> 0) & 0xf,
     1310                        (uEAX >> 8) & 0xf, (uEAX >> 20) & 0x7f, ASMGetCpuFamily(uEAX),
     1311                        (uEAX >> 4) & 0xf, (uEAX >> 16) & 0x0f, ASMGetCpuModel(uEAX),
     1312                        ASMGetCpuStepping(uEAX),
    13131313                        Guest.ebx & 0xfff);
    13141314
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