- Timestamp:
- Aug 9, 2007 5:26:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r4071 r4102 2527 2527 /* This must be done from EMT. */ 2528 2528 { 2529 PATACONTROLLER pCtl = ATADEVSTATE_2_CONTROLLER(s); 2529 2530 PPDMDEVINS pDevIns = ATADEVSTATE_2_DEVINS(s); 2530 2531 PVMREQ pReq; 2532 2533 PDMCritSectLeave(&pCtl->lock); 2531 2534 rc = VMR3ReqCall(PDMDevHlpGetVM(pDevIns), &pReq, RT_INDEFINITE_WAIT, 2532 2535 (PFNRT)s->pDrvMount->pfnUnmount, 2, s->pDrvMount, false); 2533 2536 AssertReleaseRC(rc); 2534 2537 VMR3ReqFree(pReq); 2538 { 2539 STAM_PROFILE_START(&pCtl->StatLockWait, a); 2540 PDMCritSectEnter(&pCtl->lock, VINF_SUCCESS); 2541 STAM_PROFILE_STOP(&pCtl->StatLockWait, a); 2542 } 2535 2543 } 2536 2544 break;
Note:
See TracChangeset
for help on using the changeset viewer.