Changeset 41815 in vbox
- Timestamp:
- Jun 18, 2012 1:29:27 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r41811 r41815 5744 5744 PATACONTROLLER pCtl = &pThis->aCts[i]; 5745 5745 5746 bool fBm = PCIDevIsBusmaster(&pThis->dev);5747 #ifdef DEBUG_andy5748 Log2(("%s: Ctl#%d: Bus master = %RTbool\n",5749 __FUNCTION__, ATACONTROLLER_IDX(pCtl), fBm));5750 #endif5751 if (!fBm)5752 return VINF_SUCCESS; /** @todo Correct? */5753 5754 5746 int rc = PDMCritSectEnter(&pCtl->lock, VINF_IOM_R3_IOPORT_READ); 5755 5747 if (rc != VINF_SUCCESS) … … 5784 5776 PCIATAState *pThis = PDMINS_2_DATA(pDevIns, PCIATAState *); 5785 5777 PATACONTROLLER pCtl = &pThis->aCts[i]; 5786 5787 bool fBm = PCIDevIsBusmaster(&pThis->dev);5788 #ifdef DEBUG_andy5789 Log2(("%s: Ctl#%d: Bus master = %RTbool\n",5790 __FUNCTION__, ATACONTROLLER_IDX(pCtl), fBm));5791 #endif5792 if (!fBm)5793 return VINF_SUCCESS; /** @todo Correct? */5794 5778 5795 5779 int rc = PDMCritSectEnter(&pCtl->lock, VINF_IOM_R3_IOPORT_WRITE);
Note:
See TracChangeset
for help on using the changeset viewer.