VirtualBox

Changeset 81850 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 14, 2019 9:36:00 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134644
Message:

PDMDevHlp: Adding PDMDevHlpCritSectScheduleExitEvent. bugref:9218

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp

    r81841 r81850  
    10191019    RT_NOREF(pDevIns);
    10201020    return PDMCritSectGetRecursion(pCritSect);
     1021}
     1022
     1023
     1024/** @interface_method_impl{PDMDEVHLPR0,pfnCritSectScheduleExitEvent} */
     1025static DECLCALLBACK(int) pdmR0DevHlp_CritSectScheduleExitEvent(PPDMDEVINS pDevIns, PPDMCRITSECT pCritSect,
     1026                                                               SUPSEMEVENT hEventToSignal)
     1027{
     1028    PDMDEV_ASSERT_DEVINS(pDevIns);
     1029    RT_NOREF(pDevIns);
     1030    return PDMHCCritSectScheduleExitEvent(pCritSect, hEventToSignal);
    10211031}
    10221032
     
    11611171    pdmR0DevHlp_CritSectHasWaiters,
    11621172    pdmR0DevHlp_CritSectGetRecursion,
     1173    pdmR0DevHlp_CritSectScheduleExitEvent,
    11631174    pdmR0DevHlp_DBGFTraceBuf,
    11641175    pdmR0DevHlp_PCIBusSetUpContext,
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r81811 r81850  
    30433043    RT_NOREF(pDevIns);
    30443044    return PDMCritSectGetRecursion(pCritSect);
     3045}
     3046
     3047
     3048/** @interface_method_impl{PDMDEVHLPR3,pfnCritSectScheduleExitEvent} */
     3049static DECLCALLBACK(int) pdmR3DevHlp_CritSectScheduleExitEvent(PPDMDEVINS pDevIns, PPDMCRITSECT pCritSect,
     3050                                                               SUPSEMEVENT hEventToSignal)
     3051{
     3052    PDMDEV_ASSERT_DEVINS(pDevIns);
     3053    RT_NOREF(pDevIns);
     3054    return PDMHCCritSectScheduleExitEvent(pCritSect, hEventToSignal);
    30453055}
    30463056
     
    47954805    pdmR3DevHlp_CritSectHasWaiters,
    47964806    pdmR3DevHlp_CritSectGetRecursion,
     4807    pdmR3DevHlp_CritSectScheduleExitEvent,
    47974808    pdmR3DevHlp_CritSectDelete,
    47984809    pdmR3DevHlp_ThreadCreate,
     
    52905301    pdmR3DevHlp_CritSectHasWaiters,
    52915302    pdmR3DevHlp_CritSectGetRecursion,
     5303    pdmR3DevHlp_CritSectScheduleExitEvent,
    52925304    pdmR3DevHlp_CritSectDelete,
    52935305    pdmR3DevHlp_ThreadCreate,
Note: See TracChangeset for help on using the changeset viewer.

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