Changeset 81850 in vbox
- Timestamp:
- Nov 14, 2019 9:36:00 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134644
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdev.h
r81772 r81850 2278 2278 2279 2279 /** Current PDMDEVHLPR3 version number. */ 2280 #define PDM_DEVHLPR3_VERSION PDM_VERSION_MAKE_PP(0xffe7, 3 4, 0)2280 #define PDM_DEVHLPR3_VERSION PDM_VERSION_MAKE_PP(0xffe7, 35, 0) 2281 2281 2282 2282 /** … … 3940 3940 DECLR3CALLBACKMEMBER(bool, pfnCritSectHasWaiters,(PPDMDEVINS pDevIns, PCPDMCRITSECT pCritSect)); 3941 3941 DECLR3CALLBACKMEMBER(uint32_t, pfnCritSectGetRecursion,(PPDMDEVINS pDevIns, PCPDMCRITSECT pCritSect)); 3942 DECLR3CALLBACKMEMBER(int, pfnCritSectScheduleExitEvent,(PPDMDEVINS pDevIns, PPDMCRITSECT pCritSect, SUPSEMEVENT hEventToSignal)); 3942 3943 DECLR3CALLBACKMEMBER(int, pfnCritSectDelete,(PPDMDEVINS pDevIns, PPDMCRITSECT pCritSect)); 3943 3944 /** @} */ … … 4977 4978 4978 4979 /** Current PDMDEVHLP version number. */ 4979 #define PDM_DEVHLPRC_VERSION PDM_VERSION_MAKE(0xffe6, 9, 0)4980 #define PDM_DEVHLPRC_VERSION PDM_VERSION_MAKE(0xffe6, 10, 0) 4980 4981 4981 4982 … … 5391 5392 DECLR0CALLBACKMEMBER(bool, pfnCritSectHasWaiters,(PPDMDEVINS pDevIns, PCPDMCRITSECT pCritSect)); 5392 5393 DECLR0CALLBACKMEMBER(uint32_t, pfnCritSectGetRecursion,(PPDMDEVINS pDevIns, PCPDMCRITSECT pCritSect)); 5394 DECLR0CALLBACKMEMBER(int, pfnCritSectScheduleExitEvent,(PPDMDEVINS pDevIns, PPDMCRITSECT pCritSect, SUPSEMEVENT hEventToSignal)); 5393 5395 /** @} */ 5394 5396 … … 7735 7737 } 7736 7738 7739 #if defined(IN_RING3) || defined(IN_RING0) 7740 /** 7741 * @copydoc PDMHCCritSectScheduleExitEvent 7742 * @param pDevIns The device instance. 7743 */ 7744 DECLINLINE(int) PDMDevHlpCritSectScheduleExitEvent(PPDMDEVINS pDevIns, PPDMCRITSECT pCritSect, SUPSEMEVENT hEventToSignal) 7745 { 7746 return pDevIns->CTX_SUFF(pHlp)->pfnCritSectScheduleExitEvent(pDevIns, pCritSect, hEventToSignal); 7747 } 7748 #endif 7749 7737 7750 /* Strict build: Remap the two enter calls to the debug versions. */ 7738 7751 #ifdef VBOX_STRICT -
trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp
r81841 r81850 1019 1019 RT_NOREF(pDevIns); 1020 1020 return PDMCritSectGetRecursion(pCritSect); 1021 } 1022 1023 1024 /** @interface_method_impl{PDMDEVHLPR0,pfnCritSectScheduleExitEvent} */ 1025 static 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); 1021 1031 } 1022 1032 … … 1161 1171 pdmR0DevHlp_CritSectHasWaiters, 1162 1172 pdmR0DevHlp_CritSectGetRecursion, 1173 pdmR0DevHlp_CritSectScheduleExitEvent, 1163 1174 pdmR0DevHlp_DBGFTraceBuf, 1164 1175 pdmR0DevHlp_PCIBusSetUpContext, -
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r81811 r81850 3043 3043 RT_NOREF(pDevIns); 3044 3044 return PDMCritSectGetRecursion(pCritSect); 3045 } 3046 3047 3048 /** @interface_method_impl{PDMDEVHLPR3,pfnCritSectScheduleExitEvent} */ 3049 static 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); 3045 3055 } 3046 3056 … … 4795 4805 pdmR3DevHlp_CritSectHasWaiters, 4796 4806 pdmR3DevHlp_CritSectGetRecursion, 4807 pdmR3DevHlp_CritSectScheduleExitEvent, 4797 4808 pdmR3DevHlp_CritSectDelete, 4798 4809 pdmR3DevHlp_ThreadCreate, … … 5290 5301 pdmR3DevHlp_CritSectHasWaiters, 5291 5302 pdmR3DevHlp_CritSectGetRecursion, 5303 pdmR3DevHlp_CritSectScheduleExitEvent, 5292 5304 pdmR3DevHlp_CritSectDelete, 5293 5305 pdmR3DevHlp_ThreadCreate,
Note:
See TracChangeset
for help on using the changeset viewer.