VirtualBox

Changeset 8885

Show
Ignore:
Timestamp:
05/16/08 13:58:04 (2 months ago)
Author:
vboxsync
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy