Changeset 93717 in vbox for trunk/src/VBox
- Timestamp:
- Feb 14, 2022 10:55:27 AM (3 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/TMAll.cpp
r93620 r93717 141 141 return (PPDMCRITSECT)((uintptr_t)pDevInsR0->pvInstanceDataR0 + offCritSect); 142 142 } 143 return (PPDMCRITSECT)MMHyperR3ToCC(pVM, pTimer->pCritSect); 143 RT_NOREF(pVM); 144 Assert(pTimer->pCritSect == NULL); 145 return NULL; 144 146 } 145 147 #endif /* VBOX_STRICT && IN_RING0 */ -
trunk/src/VBox/VMM/VMMR3/TM.cpp
r93655 r93717 3099 3099 AssertReturn(!pTimer->pCritSect, VERR_ALREADY_EXISTS); 3100 3100 AssertReturn(pTimer->enmState == TMTIMERSTATE_STOPPED, VERR_INVALID_STATE); 3101 AssertReturn( pTimer->enmType == TMTIMERTYPE_DEV 3102 || pTimer->enmType == TMTIMERTYPE_DRV 3103 || pTimer->enmType == TMTIMERTYPE_USB, 3104 VERR_NOT_SUPPORTED); /* Not supported on internal timers, see tmRZTimerGetCritSect. */ 3101 3105 LogFlow(("pTimer=%p (%s) pCritSect=%p (%s)\n", pTimer, pTimer->szName, pCritSect, pszName)); 3102 3106
Note:
See TracChangeset
for help on using the changeset viewer.