Changeset 38847 in vbox for trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp
- Timestamp:
- Sep 23, 2011 1:19:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp
r37812 r38847 420 420 if (pDevIns->pReg->pfnInitComplete) 421 421 { 422 PDMCritSectEnter(pDevIns->pCritSectRoR3, VERR_IGNORED); 422 423 rc = pDevIns->pReg->pfnInitComplete(pDevIns); 424 PDMCritSectLeave(pDevIns->pCritSectRoR3); 423 425 if (RT_FAILURE(rc)) 424 426 { … … 796 798 if (!pLun->pTop) 797 799 { 800 PDMCritSectEnter(pDevIns->pCritSectRoR3, VERR_IGNORED); 798 801 rc = pDevIns->pReg->pfnAttach(pDevIns, iLun, fFlags); 802 PDMCritSectLeave(pDevIns->pCritSectRoR3); 799 803 } 800 804 else … … 904 908 if (pDevIns->pReg->pfnAttach) 905 909 { 910 PDMCritSectEnter(pDevIns->pCritSectRoR3, VERR_IGNORED); 906 911 rc = pDevIns->pReg->pfnAttach(pDevIns, iLun, fFlags); 907 912 if (RT_SUCCESS(rc) && ppBase) 908 913 *ppBase = pLun->pTop ? &pLun->pTop->IBase : NULL; 914 PDMCritSectLeave(pDevIns->pCritSectRoR3); 909 915 } 910 916 else
Note:
See TracChangeset
for help on using the changeset viewer.