Changeset 50032 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Jan 8, 2014 12:34:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r50031 r50032 480 480 /** Bitmap for new queued tasks (Guest -> R3). */ 481 481 volatile uint32_t u32TasksNew; 482 /** Bitmap of tasks which must be redone because of a non fatal error. */ 483 volatile uint32_t u32TasksRedo; 482 484 483 485 /** Current command slot processed. … … 486 488 volatile uint32_t u32CurrentCommandSlot; 487 489 488 #if HC_ARCH_BITS == 32490 #if HC_ARCH_BITS == 64 489 491 uint32_t u32Alignment2; 490 492 #endif … … 1973 1975 1974 1976 pAhciPort->u32TasksNew = 0; 1977 pAhciPort->u32TasksRedo = 0; 1975 1978 pAhciPort->u32TasksFinished = 0; 1976 1979 pAhciPort->u32QueuedTasksFinished = 0; … … 5918 5921 } 5919 5922 else 5920 ASMAtomicOrU32(&pAhciPort->u32Tasks New, RT_BIT_32(pAhciReq->uTag));5923 ASMAtomicOrU32(&pAhciPort->u32TasksRedo, RT_BIT_32(pAhciReq->uTag)); 5921 5924 } 5922 5925 else … … 7499 7502 PAHCIPort pAhciPort = &pAhci->ahciPort[i]; 7500 7503 7501 if (pAhciPort->u32Tasks New)7504 if (pAhciPort->u32TasksRedo) 7502 7505 { 7503 7506 PDEVPORTNOTIFIERQUEUEITEM pItem = (PDEVPORTNOTIFIERQUEUEITEM)PDMQueueAlloc(pAhci->CTX_SUFF(pNotifierQueue)); 7504 7507 AssertMsg(pItem, ("Allocating item for queue failed\n")); 7508 7509 pAhciPort->u32TasksNew |= pAhciPort->u32TasksRedo; 7510 pAhciPort->u32TasksRedo = 0; 7505 7511 7506 7512 Assert(pAhciPort->fRedo);
Note:
See TracChangeset
for help on using the changeset viewer.