Changeset 7913 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Apr 11, 2008 12:54:53 PM (17 years ago)
- Location:
- trunk/src/VBox/Runtime/r0drv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/mp-r0drv-nt.cpp
r7506 r7913 169 169 170 170 if ( enmCpuid == RT_NT_CPUID_SPECIFIC 171 && !(Mask & RT_BIT_64(idCpu))) 171 && ( idCpu >= 64 172 || !(Mask & RT_BIT_64(idCpu)))) 172 173 return VERR_CPU_NOT_FOUND; /* can't distinguish between cpu not present or offline */ 173 174 -
trunk/src/VBox/Runtime/r0drv/solaris/mp-r0drv-solaris.c
r7419 r7913 231 231 RTMPARGS Args; 232 232 233 if (idCpu >= NCPU) 234 return VERR_CPU_NOT_FOUND; 235 233 236 Args.pfnWorker = pfnWorker; 234 237 Args.pvUser1 = pvUser1; … … 238 241 239 242 CPUSET_ZERO(Set); 240 AssertReturn(idCpu < NCPU, VERR_INVALID_PARAMETER);241 243 CPUSET_ADD(Set, idCpu); 242 244
Note:
See TracChangeset
for help on using the changeset viewer.