- Timestamp:
- Oct 20, 2008 8:25:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r13377 r13406 351 351 352 352 /* 353 * PCI bus .353 * PCI buses. 354 354 */ 355 355 rc = CFGMR3InsertNode(pDevices, "pci", &pDev); /* piix3 */ RC_CHECK(); … … 358 358 rc = CFGMR3InsertNode(pInst, "Config", &pCfg); RC_CHECK(); 359 359 rc = CFGMR3InsertInteger(pCfg, "IOAPIC", fIOAPIC); RC_CHECK(); 360 361 #if 0 /* enable this to test PCI bridging */ 362 rc = CFGMR3InsertNode(pDevices, "pcibridge", &pDev); RC_CHECK(); 363 rc = CFGMR3InsertNode(pDev, "0", &pInst); RC_CHECK(); 364 rc = CFGMR3InsertInteger(pInst, "Trusted", 1); /* boolean */ RC_CHECK(); 365 rc = CFGMR3InsertNode(pInst, "Config", &pCfg); RC_CHECK(); 366 rc = CFGMR3InsertInteger(pInst, "PCIDeviceNo", 14); RC_CHECK(); 367 rc = CFGMR3InsertInteger(pInst, "PCIFunctionNo", 0); RC_CHECK(); 368 rc = CFGMR3InsertInteger(pInst, "PCIBusNo", 0);/* -> pci[0] */ RC_CHECK(); 369 370 rc = CFGMR3InsertNode(pDev, "1", &pInst); RC_CHECK(); 371 rc = CFGMR3InsertInteger(pInst, "Trusted", 1); /* boolean */ RC_CHECK(); 372 rc = CFGMR3InsertNode(pInst, "Config", &pCfg); RC_CHECK(); 373 rc = CFGMR3InsertInteger(pInst, "PCIDeviceNo", 1); RC_CHECK(); 374 rc = CFGMR3InsertInteger(pInst, "PCIFunctionNo", 0); RC_CHECK(); 375 rc = CFGMR3InsertInteger(pInst, "PCIBusNo", 1);/* ->pcibridge[0] */ RC_CHECK(); 376 377 rc = CFGMR3InsertNode(pDev, "2", &pInst); RC_CHECK(); 378 rc = CFGMR3InsertInteger(pInst, "Trusted", 1); /* boolean */ RC_CHECK(); 379 rc = CFGMR3InsertNode(pInst, "Config", &pCfg); RC_CHECK(); 380 rc = CFGMR3InsertInteger(pInst, "PCIDeviceNo", 3); RC_CHECK(); 381 rc = CFGMR3InsertInteger(pInst, "PCIFunctionNo", 0); RC_CHECK(); 382 rc = CFGMR3InsertInteger(pInst, "PCIBusNo", 1);/* ->pcibridge[0] */ RC_CHECK(); 383 #endif 360 384 361 385 /*
Note:
See TracChangeset
for help on using the changeset viewer.