Changeset 20119 in vbox for trunk/src/VBox/Devices
- Timestamp:
- May 28, 2009 1:58:57 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 47885
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r20087 r20119 3842 3842 { 3843 3843 PCNetState *pThis = PDMINS_2_DATA(pDevIns, PCNetState *); 3844 3845 int rc = VERR_GENERAL_FAILURE; 3844 int rc = PDMCritSectEnter(&pThis->CritSect, VERR_SEM_BUSY); 3845 AssertReleaseRC(rc); 3846 3847 rc = VERR_GENERAL_FAILURE; 3846 3848 if (pThis->cLinkDownReported <= PCNET_MAX_LINKDOWN_REPORTED) 3847 3849 rc = TMTimerSetMillies(pThis->pTimerRestore, 1500); … … 3862 3864 Log(("#%d pcnetTimerRestore: cLinkDownReported=%d, wait another 1500ms...\n", 3863 3865 pDevIns->iInstance, pThis->cLinkDownReported)); 3864 } 3865 3866 3867 PDMCritSectLeave(&pThis->CritSect); 3868 } 3866 3869 3867 3870 /** … … 4954 4957 if (RT_FAILURE(rc)) 4955 4958 return rc; 4956 TMR3TimerSetCritSect(pThis->pTimerRestore, &pThis->CritSect);4957 4959 4958 4960 rc = PDMDevHlpSSMRegister(pDevIns, pDevIns->pDevReg->szDeviceName, iInstance,
Note:
See TracChangeset
for help on using the changeset viewer.