Changeset 64260 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Oct 13, 2016 3:54:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
r64255 r64260 307 307 && (ASMCpuId_EDX(UINT32_C(0x80000001)) & X86_CPUID_EXT_FEATURE_EDX_RDTSCP) ) 308 308 { 309 uint32_t const uGroupedAux = (uint8_t)pGipCpu->iCpuGroupMember | ((uint32_t)pGipCpu->iCpuGroup << 8);310 309 uint32_t uAux; 311 310 ASMReadTscWithAux(&uAux); … … 318 317 } 319 318 320 if ( (uAux & UINT16_MAX) == uGroupedAux 321 && pGipCpu->iCpuGroupMember <= UINT8_MAX) 319 if (pGipCpu) 322 320 { 323 ASMNopPause(); 324 ASMReadTscWithAux(&uAux); 325 if ((uAux & UINT16_MAX) == uGroupedAux) 326 fSupported |= SUPGIPGETCPU_RDTSCP_GROUP_IN_CH_NUMBER_IN_CL; 321 uint32_t const uGroupedAux = (uint8_t)pGipCpu->iCpuGroupMember | ((uint32_t)pGipCpu->iCpuGroup << 8); 322 if ( (uAux & UINT16_MAX) == uGroupedAux 323 && pGipCpu->iCpuGroupMember <= UINT8_MAX) 324 { 325 ASMNopPause(); 326 ASMReadTscWithAux(&uAux); 327 if ((uAux & UINT16_MAX) == uGroupedAux) 328 fSupported |= SUPGIPGETCPU_RDTSCP_GROUP_IN_CH_NUMBER_IN_CL; 329 } 327 330 } 328 331 }
Note:
See TracChangeset
for help on using the changeset viewer.