Changeset 41467 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- May 28, 2012 10:49:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r40282 r41467 5696 5696 } 5697 5697 5698 /* Add the task to the cache. */5699 ASMAtomicWritePtr(&pAhciPort->aCachedTasks[pAhciReq->uTag], pAhciReq);5700 5698 AssertReleaseMsg(ASMAtomicReadU32(&pAhciPort->cTasksActive) > 0 , 5701 5699 ("Inconsistent request counter\n")); … … 6198 6196 AssertMsg(pAhciReq, ("%s: Cannot allocate task state memory!\n")); 6199 6197 pAhciReq->enmTxState = AHCITXSTATE_FREE; 6198 pAhciPort->aCachedTasks[idx] = pAhciReq; 6200 6199 } 6201 6200 else … … 6233 6232 pAhciPort->fResetDevice = true; 6234 6233 ahciSendD2HFis(pAhciPort, pAhciReq, pAhciReq->cmdFis, true); 6235 pAhciPort->aCachedTasks[idx] = pAhciReq;6236 6234 6237 6235 ASMAtomicCmpXchgSize(&pAhciReq->enmTxState, AHCITXSTATE_FREE, AHCITXSTATE_ACTIVE, fXchg); … … 6242 6240 { 6243 6241 ahciFinishStorageDeviceReset(pAhciPort, pAhciReq); 6244 pAhciPort->aCachedTasks[idx] = pAhciReq;6245 6242 6246 6243 ASMAtomicCmpXchgSize(&pAhciReq->enmTxState, AHCITXSTATE_FREE, AHCITXSTATE_ACTIVE, fXchg);
Note:
See TracChangeset
for help on using the changeset viewer.