Changeset 81382 in vbox
- Timestamp:
- Oct 19, 2019 11:57:59 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdev.h
r81381 r81382 2272 2272 2273 2273 /** Current PDMDEVHLPR3 version number. */ 2274 #define PDM_DEVHLPR3_VERSION PDM_VERSION_MAKE_PP(0xffe7, 2 5, 0)2274 #define PDM_DEVHLPR3_VERSION PDM_VERSION_MAKE_PP(0xffe7, 26, 0) 2275 2275 2276 2276 /** … … 2985 2985 DECLR3CALLBACKMEMBER(int, pfnTimerStop,(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer)); 2986 2986 DECLR3CALLBACKMEMBER(void, pfnTimerUnlock,(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer)); 2987 DECLR3CALLBACKMEMBER(int, pfnTimerSetCritSect,(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer, PPDMCRITSECT pCritSect)); 2987 2988 DECLR3CALLBACKMEMBER(int, pfnTimerSave,(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer, PSSMHANDLE pSSM)); 2988 2989 DECLR3CALLBACKMEMBER(int, pfnTimerLoad,(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer, PSSMHANDLE pSSM)); … … 6004 6005 * @copydoc PDMDEVHLPR3::pfnTMTimerCreate 6005 6006 */ 6006 DECLINLINE(int) PDMDevHlpTMTimerCreate(PPDMDEVINS pDevIns, TMCLOCK enmClock, PFNTMTIMERDEV pfnCallback, void *pvUser, uint32_t fFlags,6007 const char *pszDesc, PPTMTIMERR3 ppTimer)6007 DECLINLINE(int) PDMDevHlpTMTimerCreate(PPDMDEVINS pDevIns, TMCLOCK enmClock, PFNTMTIMERDEV pfnCallback, void *pvUser, 6008 uint32_t fFlags, const char *pszDesc, PPTMTIMERR3 ppTimer) 6008 6009 { 6009 6010 return pDevIns->pHlpR3->pfnTMTimerCreate(pDevIns, enmClock, pfnCallback, pvUser, fFlags, pszDesc, ppTimer); … … 6166 6167 6167 6168 #ifdef IN_RING3 6169 6170 /** 6171 * @copydoc PDMDEVHLPR3::pfnTimerSetCritSect 6172 */ 6173 DECLINLINE(int) PDMDevHlpTimerSetCritSect(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer, PPDMCRITSECT pCritSect) 6174 { 6175 return pDevIns->pHlpR3->pfnTimerSetCritSect(pDevIns, hTimer, pCritSect); 6176 } 6168 6177 6169 6178 /** -
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r81375 r81382 1062 1062 { 1063 1063 TMTimerUnlock(pdmR3DevHlp_TimerToPtr(pDevIns, hTimer)); 1064 } 1065 1066 1067 /** @interface_method_impl{PDMDEVHLPR3,pfnTimerSetCritSect} */ 1068 static DECLCALLBACK(int) pdmR3DevHlp_TimerSetCritSect(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer, PPDMCRITSECT pCritSect) 1069 { 1070 return TMR3TimerSetCritSect(pdmR3DevHlp_TimerToPtr(pDevIns, hTimer), pCritSect); 1064 1071 } 1065 1072 … … 4248 4255 pdmR3DevHlp_TimerStop, 4249 4256 pdmR3DevHlp_TimerUnlock, 4257 pdmR3DevHlp_TimerSetCritSect, 4250 4258 pdmR3DevHlp_TimerSave, 4251 4259 pdmR3DevHlp_TimerLoad, … … 4689 4697 pdmR3DevHlp_TimerStop, 4690 4698 pdmR3DevHlp_TimerUnlock, 4699 pdmR3DevHlp_TimerSetCritSect, 4691 4700 pdmR3DevHlp_TimerSave, 4692 4701 pdmR3DevHlp_TimerLoad,
Note:
See TracChangeset
for help on using the changeset viewer.