VirtualBox

Changeset 8908 in vbox for trunk/src


Ignore:
Timestamp:
May 19, 2008 9:45:02 AM (17 years ago)
Author:
vboxsync
Message:

Determined affinity mask too late. Moved up.

File:
1 edited

Legend:

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

    r8837 r8908  
    515515                pDevExt->ulGipTimerInterval = ulClockInterval / 10000; /* ms */
    516516
     517                /* Note: We need to register a callback handler for added cpus (only available in win2k8: KeRegisterProcessorChangeCallback) */
     518                /* Note: We are not allowed to call KeQueryActiveProcessors at DPC_LEVEL, so we now assume cpu affinity mask does NOT change. */
     519                pDevExt->uAffinityMask = KeQueryActiveProcessors();
     520
    517521                /*
    518522                 * Call common initialization routine.
     
    536540                    KeSetTargetProcessorDpc(&pDevExt->aGipCpuDpcs[i], i);
    537541                }
    538 
    539                 /* Note: We need to register a callback handler for added cpus (only available in win2k8: KeRegisterProcessorChangeCallback) */
    540                 /* Note: We are not allowed to call KeQueryActiveProcessors at DPC_LEVEL, so we now assume cpu affinity mask does NOT change. */
    541                 pDevExt->uAffinityMask = KeQueryActiveProcessors();
    542542
    543543                dprintf(("VBoxDrvNtGipInit: ulClockFreq=%ld ulClockInterval=%ld ulClockIntervalActual=%ld Phys=%x%08x\n",
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