Changeset 7287 in vbox
- Timestamp:
- Mar 5, 2008 8:20:52 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r7272 r7287 517 517 /* 518 518 * Initialize the DPCs we're using to update the per-cpu GIP data. 519 * (Not sure if we need to be this careful with KeSetTargetProcessorDpc...)520 519 */ 521 UNICODE_STRING RoutineName;522 RtlInitUnicodeString(&RoutineName, L"KeSetTargetProcessorDpc");523 VOID (*pfnKeSetTargetProcessorDpc)(IN PRKDPC, IN CCHAR) = (VOID (*)(IN PRKDPC, IN CCHAR))MmGetSystemRoutineAddress(&RoutineName);524 525 520 for (unsigned i = 0; i < RT_ELEMENTS(pDevExt->aGipCpuDpcs); i++) 526 521 { 527 522 KeInitializeDpc(&pDevExt->aGipCpuDpcs[i], VBoxDrvNtGipPerCpuDpc, pGip); 528 523 KeSetImportanceDpc(&pDevExt->aGipCpuDpcs[i], HighImportance); 529 if (pfnKeSetTargetProcessorDpc) 530 pfnKeSetTargetProcessorDpc(&pDevExt->aGipCpuDpcs[i], i); 524 KeSetTargetProcessorDpc(&pDevExt->aGipCpuDpcs[i], i); 531 525 } 532 526
Note:
See TracChangeset
for help on using the changeset viewer.