VirtualBox

Changeset 66095 in vbox


Ignore:
Timestamp:
Mar 14, 2017 3:10:09 PM (8 years ago)
Author:
vboxsync
Message:

CPUMR3CpuId.cpp: Detect AMD Ryzen.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpum.h

    r66040 r66095  
    206206    kCpumMicroarch_AMD_16h_First,
    207207    kCpumMicroarch_AMD_16h_End,
     208
     209    kCpumMicroarch_AMD_Zen_First,
     210    kCpumMicroarch_AMD_Zen_Ryzen = kCpumMicroarch_AMD_Zen_First,
     211    kCpumMicroarch_AMD_Zen_End,
    208212
    209213    kCpumMicroarch_AMD_Unknown,
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r66040 r66095  
    291291            case 0x16:
    292292                return kCpumMicroarch_AMD_Jaguar;
    293 
     293            case 0x17:
     294                return kCpumMicroarch_AMD_Zen_Ryzen;
    294295        }
    295296        return kCpumMicroarch_AMD_Unknown;
     
    494495        CASE_RET_STR(kCpumMicroarch_AMD_16h_First);
    495496
     497        CASE_RET_STR(kCpumMicroarch_AMD_Zen_Ryzen);
     498
    496499        CASE_RET_STR(kCpumMicroarch_AMD_Unknown);
    497500
     
    533536        case kCpumMicroarch_AMD_15h_End:
    534537        case kCpumMicroarch_AMD_16h_End:
     538        case kCpumMicroarch_AMD_Zen_End:
    535539        case kCpumMicroarch_AMD_End:
    536540        case kCpumMicroarch_VIA_End:
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