Changeset 81605 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Oct 31, 2019 2:29:46 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134362
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp
r81304 r81605 4150 4150 4151 4151 /* Check if the vendor is AMD (or compatible). */ 4152 if (ASMIsAmdCpuEx(uVendorEbx, uVendorEcx, uVendorEdx)) 4152 if ( ASMIsAmdCpuEx(uVendorEbx, uVendorEcx, uVendorEdx) 4153 || ASMIsHygonCpuEx(uVendorEbx, uVendorEcx, uVendorEdx)) 4153 4154 { 4154 4155 uint32_t fExtFeatEcx, uExtMaxId; … … 4512 4513 } 4513 4514 } 4514 else if (ASMIsAmdCpuEx(uVendorEBX, uVendorECX, uVendorEDX)) 4515 else if ( ASMIsAmdCpuEx(uVendorEBX, uVendorECX, uVendorEDX) 4516 || ASMIsHygonCpuEx(uVendorEBX, uVendorECX, uVendorEDX)) 4515 4517 { 4516 4518 /* Not well documented, but at least all AMD64 CPUs support this. */ -
trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
r81106 r81605 1801 1801 ASMCpuId(0, &uEAX, &uEBX, &uECX, &uEDX); 1802 1802 if ( ASMIsValidStdRange(uEAX) 1803 && ASMIsAmdCpuEx(uEBX, uECX, uEDX))1803 && (ASMIsAmdCpuEx(uEBX, uECX, uEDX) || ASMIsHygonCpuEx(uEBX, uECX, uEDX)) ) 1804 1804 { 1805 1805 /* Check for APM support. */ … … 4021 4021 && ASMIsValidStdRange(ASMCpuId_EAX(0)) 4022 4022 && (ASMCpuId_EDX(1) & X86_CPUID_FEATURE_EDX_HTT) 4023 && ( !ASMIsAmdCpu()4023 && ( (!ASMIsAmdCpu() && !ASMIsHygonCpu()) 4024 4024 || ASMGetCpuFamily(u32Tmp = ASMCpuId_EAX(1)) > 0x15 4025 4025 || ( ASMGetCpuFamily(u32Tmp) == 0x15 /* Piledriver+, not bulldozer (FX-4150 didn't like it). */
Note:
See TracChangeset
for help on using the changeset viewer.