Changeset 64281 in vbox for trunk/src/VBox/Runtime/common/time
- Timestamp:
- Oct 15, 2016 4:46:29 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 111296
- Location:
- trunk/src/VBox/Runtime/common/time
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/time/timesupref.cpp
r64255 r64281 37 37 #include <iprt/asm-math.h> 38 38 #include <iprt/asm-amd64-x86.h> 39 #include <iprt/param.h> 39 40 #include <VBox/sup.h> 40 41 #ifdef IN_RC -
trunk/src/VBox/Runtime/common/time/timesupref.h
r64255 r64281 101 101 uint16_t const iCpuSet = uAux & (RTCPUSET_MAX_CPUS - 1); 102 102 # else 103 uint16_t const iCpuSet = pGip->aiFirstCpuSetIdxFromCpuGroup[(uAux >> 8) & UINT8_MAX] + (uAux & UINT8_MAX); 103 uint16_t iCpuSet = 0; 104 uint16_t offGipCpuGroup = pGip->aoffCpuGroup[(uAux >> 8) & UINT8_MAX]; 105 if (offGipCpuGroup < pGip->cPages * PAGE_SIZE) 106 { 107 PSUPGIPCPUGROUP pGipCpuGroup = (PSUPGIPCPUGROUP)((uintptr_t)pGip + offGipCpuGroup); 108 if ( (uAux & UINT8_MAX) < pGipCpuGroup->cMaxMembers 109 && pGipCpuGroup->aiCpuSetIdxs[uAux & UINT8_MAX] != -1) 110 iCpuSet = pGipCpuGroup->aiCpuSetIdxs[uAux & UINT8_MAX]; 111 } 104 112 # endif 105 113 uint16_t const iGipCpu = pGip->aiCpuFromCpuSetIdx[iCpuSet];
Note:
See TracChangeset
for help on using the changeset viewer.