Changeset 7457 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 14, 2008 12:17:16 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28895
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r7442 r7457 606 606 rc = CFGMR3InsertNode(pDevices, "ahci", &pDev); RC_CHECK(); 607 607 rc = CFGMR3InsertNode(pDev, "0", &pSataInst); RC_CHECK(); 608 rc = CFGMR3InsertInteger(p IdeInst, "Trusted", 1);RC_CHECK();609 rc = CFGMR3InsertInteger(p IdeInst, "PCIDeviceNo", 13);RC_CHECK();608 rc = CFGMR3InsertInteger(pSataInst, "Trusted", 1); RC_CHECK(); 609 rc = CFGMR3InsertInteger(pSataInst, "PCIDeviceNo", 13); RC_CHECK(); 610 610 Assert(!afPciDeviceNo[13]); 611 611 afPciDeviceNo[13] = true; 612 rc = CFGMR3InsertInteger(p IdeInst, "PCIFunctionNo", 1);RC_CHECK();613 rc = CFGMR3InsertNode(p IdeInst, "Config", &pCfg);RC_CHECK();612 rc = CFGMR3InsertInteger(pSataInst, "PCIFunctionNo", 0); RC_CHECK(); 613 rc = CFGMR3InsertNode(pSataInst, "Config", &pCfg); RC_CHECK(); 614 614 615 615 for (uint32_t i = 0; i < 4; i++) -
trunk/src/VBox/Main/SATAControllerImpl.cpp
r7442 r7457 223 223 CheckComRCReturnRC (autoCaller.rc()); 224 224 225 /* the machine needs to be mutable */226 Machine::AutoMutableStateDependency adep (mParent);227 CheckComRCReturnRC (adep.rc());228 AutoLock alock (this);229 230 225 switch (DevicePosition) 231 226 {
Note:
See TracChangeset
for help on using the changeset viewer.