Changeset 33690 in vbox for trunk/src/VBox/Main/ConsoleImpl2.cpp
- Timestamp:
- Nov 2, 2010 2:02:19 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67316
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r33687 r33690 966 966 InsertConfigNode(pDevices, "lpc", &pDev); 967 967 InsertConfigNode(pDev, "0", &pInst); 968 #if 0 969 PciAddr = PciBusAddress(0, 31, 0); 970 hrc = BusMgr->assignPciDevice("lpc", pInst); H(); 971 #endif 968 972 InsertConfigInteger(pInst, "Trusted", 1); /* boolean */ 969 973 } … … 2307 2311 if (fOsXGuest && fAudioEnabled) 2308 2312 { 2309 /** @todo: don't hardcode */ 2310 uint32_t u32AudioPciAddr = (5 << 16) | 0; 2311 InsertConfigInteger(pCfg, "AudioPciAddress", u32AudioPciAddr); 2313 PciBusAddress Address; 2314 if (BusMgr->findPciAddress("hda", 0, Address)) 2315 { 2316 uint32_t u32AudioPciAddr = (Address.iDevice << 16) | Address.iFn; 2317 InsertConfigInteger(pCfg, "AudioPciAddress", u32AudioPciAddr); 2318 } 2312 2319 } 2313 2320 InsertConfigInteger(pCfg, "IocPciAddress", u32IocPciAddress);
Note:
See TracChangeset
for help on using the changeset viewer.