Changeset 93515 in vbox for trunk/src/VBox/ValidationKit/bootsectors
- Timestamp:
- Jan 31, 2022 10:17:19 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-GetCpuVendor.c
r93115 r93515 37 37 uint32_t uEbx, uEcx, uEdx; 38 38 ASMCpuIdExSlow(0, 0, 0, 0, NULL, &uEbx, &uEcx, &uEdx); 39 if ( ASMIsIntelCpuEx(uEbx, uEcx, uEdx))39 if (RTX86IsIntelCpu(uEbx, uEcx, uEdx)) 40 40 return BS3CPUVENDOR_INTEL; 41 if ( ASMIsAmdCpuEx(uEbx, uEcx, uEdx))41 if (RTX86IsAmdCpu(uEbx, uEcx, uEdx)) 42 42 return BS3CPUVENDOR_AMD; 43 if ( ASMIsViaCentaurCpuEx(uEbx, uEcx, uEdx))43 if (RTX86IsViaCentaurCpu(uEbx, uEcx, uEdx)) 44 44 return BS3CPUVENDOR_VIA; 45 if ( ASMIsShanghaiCpuEx(uEbx, uEcx, uEdx))45 if (RTX86IsShanghaiCpu(uEbx, uEcx, uEdx)) 46 46 return BS3CPUVENDOR_SHANGHAI; 47 if ( ASMIsHygonCpuEx(uEbx, uEcx, uEdx))47 if (RTX86IsHygonCpu(uEbx, uEcx, uEdx)) 48 48 return BS3CPUVENDOR_HYGON; 49 49 return BS3CPUVENDOR_UNKNOWN;
Note:
See TracChangeset
for help on using the changeset viewer.