Changeset 54468 in vbox
- Timestamp:
- Feb 24, 2015 9:29:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/mp-r0drv-solaris.c
r54457 r54468 196 196 * for the RTMpOnAll API. 197 197 * 198 * @returns Solaris error code. 198 199 * @param uArgs Pointer to the RTMPARGS package. 199 * @param uIgnored1Ignored.200 * @param uIgnored2Ignored.201 */ 202 static int rtMpSolOnAllCpuWrapper(void *uArg, void * uIgnored1, void *uIgnored2)200 * @param pvIgnored1 Ignored. 201 * @param pvIgnored2 Ignored. 202 */ 203 static int rtMpSolOnAllCpuWrapper(void *uArg, void *pvIgnored1, void *pvIgnored2) 203 204 { 204 205 PRTMPARGS pArgs = (PRTMPARGS)(uArg); … … 213 214 pArgs->pfnWorker(RTMpCpuId(), pArgs->pvUser1, pArgs->pvUser2); 214 215 215 NOREF( uIgnored1);216 NOREF( uIgnored2);216 NOREF(pvIgnored1); 217 NOREF(pvIgnored2); 217 218 return 0; 218 219 } … … 249 250 * for the RTMpOnOthers API. 250 251 * 252 * @returns Solaris error code. 251 253 * @param uArgs Pointer to the RTMPARGS package. 252 * @param uIgnored1Ignored.253 * @param uIgnored2Ignored.254 */ 255 static int rtMpSolOnOtherCpusWrapper(void *uArg, void * uIgnored1, void *uIgnored2)254 * @param pvIgnored1 Ignored. 255 * @param pvIgnored2 Ignored. 256 */ 257 static int rtMpSolOnOtherCpusWrapper(void *uArg, void *pvIgnored1, void *pvIgnored2) 256 258 { 257 259 PRTMPARGS pArgs = (PRTMPARGS)(uArg); … … 261 263 pArgs->pfnWorker(idCpu, pArgs->pvUser1, pArgs->pvUser2); 262 264 263 NOREF( uIgnored1);264 NOREF( uIgnored2);265 NOREF(pvIgnored1); 266 NOREF(pvIgnored2); 265 267 return 0; 266 268 } … … 302 304 * @returns Solaris error code. 303 305 * @param uArgs Pointer to the RTMPARGS package. 304 * @param uIgnored1Ignored.305 * @param uIgnored2Ignored.306 */ 307 static int rtMpSolOnPairCpuWrapper(void *uArg, void * uIgnored1, void *uIgnored2)306 * @param pvIgnored1 Ignored. 307 * @param pvIgnored2 Ignored. 308 */ 309 static int rtMpSolOnPairCpuWrapper(void *uArg, void *pvIgnored1, void *pvIgnored2) 308 310 { 309 311 PRTMPARGS pArgs = (PRTMPARGS)(uArg); … … 314 316 ASMAtomicIncU32(&pArgs->cHits); 315 317 316 NOREF( uIgnored1);317 NOREF( uIgnored2);318 NOREF(pvIgnored1); 319 NOREF(pvIgnored2); 318 320 return 0; 319 321 } … … 330 332 331 333 Args.pfnWorker = pfnWorker; 332 Args.pvUser1 = pvUser1;333 Args.pvUser2 = pvUser2;334 Args.idCpu = idCpu1;335 Args.idCpu2 = idCpu2;336 Args.cHits = 0;334 Args.pvUser1 = pvUser1; 335 Args.pvUser2 = pvUser2; 336 Args.idCpu = idCpu1; 337 Args.idCpu2 = idCpu2; 338 Args.cHits = 0; 337 339 338 340 RTSOLCPUSET CpuSet; … … 370 372 rc = VERR_CPU_NOT_FOUND; 371 373 372 RTThreadPreemptRestore(&PreemptState); ;374 RTThreadPreemptRestore(&PreemptState); 373 375 return rc; 374 376 } … … 387 389 * @returns Solaris error code. 388 390 * @param uArgs Pointer to the RTMPARGS package. 389 * @param uIgnored1Ignored.390 * @param uIgnored2Ignored.391 */ 392 static int rtMpSolOnSpecificCpuWrapper(void *uArg, void * uIgnored1, void *uIgnored2)391 * @param pvIgnored1 Ignored. 392 * @param pvIgnored2 Ignored. 393 */ 394 static int rtMpSolOnSpecificCpuWrapper(void *uArg, void *pvIgnored1, void *pvIgnored2) 393 395 { 394 396 PRTMPARGS pArgs = (PRTMPARGS)(uArg); … … 399 401 ASMAtomicIncU32(&pArgs->cHits); 400 402 401 NOREF( uIgnored1);402 NOREF( uIgnored2);403 NOREF(pvIgnored1); 404 NOREF(pvIgnored2); 403 405 return 0; 404 406 }
Note:
See TracChangeset
for help on using the changeset viewer.