Changeset 16328 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jan 28, 2009 7:58:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/darwin/mp-r0drv-darwin.cpp
r15843 r16328 36 36 37 37 #include <iprt/mp.h> 38 #include <iprt/cpuset.h> 38 39 #include <iprt/err.h> 39 40 #include <iprt/asm.h> … … 82 83 RTDECL(PRTCPUSET) RTMpGetSet(PRTCPUSET pSet) 83 84 { 84 85 RTCPUID idCpu; 86 87 RTCpuSetEmpty(pSet); 88 idCpu = RTMpGetMaxCpuId(); 89 do 90 { 91 if (RTMpIsCpuPossible(idCpu)) 92 RTCpuSetAdd(pSet, idCpu); 93 } while (idCpu-- > 0); 94 return pSet; 85 95 } 86 96
Note:
See TracChangeset
for help on using the changeset viewer.