VirtualBox

Changeset 7287 in vbox


Ignore:
Timestamp:
Mar 5, 2008 8:20:52 AM (17 years ago)
Author:
vboxsync
Message:

KeSetTargetProcessorDpc is present in win2k

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r7272 r7287  
    517517                /*
    518518                 * 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...)
    520519                 */
    521                 UNICODE_STRING  RoutineName;
    522                 RtlInitUnicodeString(&RoutineName, L"KeSetTargetProcessorDpc");
    523                 VOID (*pfnKeSetTargetProcessorDpc)(IN PRKDPC, IN CCHAR) = (VOID (*)(IN PRKDPC, IN CCHAR))MmGetSystemRoutineAddress(&RoutineName);
    524 
    525520                for (unsigned i = 0; i < RT_ELEMENTS(pDevExt->aGipCpuDpcs); i++)
    526521                {
    527522                    KeInitializeDpc(&pDevExt->aGipCpuDpcs[i], VBoxDrvNtGipPerCpuDpc, pGip);
    528523                    KeSetImportanceDpc(&pDevExt->aGipCpuDpcs[i], HighImportance);
    529                     if (pfnKeSetTargetProcessorDpc)
    530                         pfnKeSetTargetProcessorDpc(&pDevExt->aGipCpuDpcs[i], i);
     524                    KeSetTargetProcessorDpc(&pDevExt->aGipCpuDpcs[i], i);
    531525                }
    532526
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette