VirtualBox

Changeset 24014 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 23, 2009 8:35:04 AM (15 years ago)
Author:
vboxsync
Message:

Removed rtMpClearPoke function as it's no longer required. (fixes missing 64 bits wrapper too)

Location:
trunk/src/VBox/Runtime
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/mp-r0drv-nt.cpp

    r23861 r24014  
    4141#include "r0drv/mp-r0drv.h"
    4242#include "internal-r0drv-nt.h"
    43 #include "internal/mp.h"
    4443
    4544
     
    415414    return (bRet == TRUE) ? VINF_SUCCESS : VERR_ACCESS_DENIED /* already queued */;
    416415}
    417 
    418 void rtMpPokeCpuClear()
    419 {
    420     if (!fPokeDPCsInitialized)
    421         return;
    422 
    423     RTCPUID idCpu = RTMpCpuId();
    424 
    425     /* Remove any pending poke DPC from the queue, so another call to RTMpPokeCpu will send an IPI */
    426     /* Note: assuming this is a cheap operation. */
    427     KeRemoveQueueDpc(&aPokeDpcs[idCpu]);
    428 }
  • trunk/src/VBox/Runtime/r0drv/nt/thread-r0drv-nt.cpp

    r23176 r24014  
    3434#include "the-nt-kernel.h"
    3535#include "internal/iprt.h"
    36 #include "internal/mp.h"
    3736#include <iprt/thread.h>
    3837
     
    9493{
    9594    Assert(hThread == NIL_RTTHREAD);
    96 
    97     /* Remove any pending poke DPC from the queue, so another call to RTMpPokeCpu will send an IPI
    98      * Also do this so we don't exit from ring 0 for the poke DPC (which does nothing).
    99      */
    100     rtMpPokeCpuClear();
    10195
    10296    /*
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