Changeset 23367 in vbox
- Timestamp:
- Sep 28, 2009 12:34:40 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 52891
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/mp-r0drv-nt.cpp
r23181 r23367 349 349 350 350 351 extern "C" HalRequestIpi(KAFFINITY TargetSet); 352 351 353 RTDECL(int) RTMpPokeCpu(RTCPUID idCpu) 352 354 { … … 356 358 : VERR_CPU_OFFLINE; 357 359 360 #if 1 /* experiment!! */ 361 HalRequestIpi(1 << idCpu); 362 return VINF_SUCCESS; 363 #else 358 364 if (!fPokeDPCsInitialized) 359 365 { … … 373 379 KeRaiseIrql(DISPATCH_LEVEL, &oldIrql); 374 380 381 KeSetImportanceDpc(&aPokeDpcs[idCpu], HighImportance); 382 KeSetTargetProcessorDpc(&aPokeDpcs[idCpu], (int)idCpu); 383 375 384 /* Assuming here that high importance DPCs will be delivered immediately; or at least an IPI will be sent immediately. 376 385 * Todo: verify! … … 380 389 KeLowerIrql(oldIrql); 381 390 return (bRet == TRUE) ? VINF_SUCCESS : VERR_ACCESS_DENIED /* already queued */; 391 #endif 382 392 } 383 393
Note:
See TracChangeset
for help on using the changeset viewer.