VirtualBox

Changeset 107215 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Dec 3, 2024 7:58:35 AM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166219
Message:

VMM/PDM,VMMDevTesting: Don't include vm.h in VMMDevTesting, replacing it by a new devhlp function for poking the EMTs. jiraref:VBP-1466

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDevTesting.cpp

    r106061 r107215  
    4444#include <iprt/test.h>
    4545
    46 #ifdef IN_RING3
    47 # define USING_VMM_COMMON_DEFS /* HACK ALERT! We ONLY want the EMT thread handles, so the common defs doesn't matter. */
    48 # include <VBox/vmm/vmcc.h>
    49 #endif
    5046#include <VBox/AssertGuest.h>
    5147
     
    959955{
    960956    PVMMDEV pThis = PDMDEVINS_2_DATA(pDevIns, PVMMDEV);
    961     PVM     pVM   = PDMDevHlpGetVM(pDevIns);
    962     AssertPtr(pVM);
    963957
    964958    while (RT_LIKELY(pThread->enmState == PDMTHREADSTATE_RUNNING))
     
    988982                PDMDevHlpSUPSemEventWaitNsRelIntr(pDevIns, pThis->hTestingLockEvt, pThis->TestingLockControl.s.cUsHold);
    989983                if (pThis->TestingLockControl.s.fPokeBeforeRelease)
    990                     VMCC_FOR_EACH_VMCPU_STMT(pVM, RTThreadPoke(pVCpu->hThread));
     984                    pDevIns->pHlpR3->pfnPokeAllEmts(pDevIns);
    991985            }
    992986
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