Changeset 39135 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Oct 28, 2011 9:47:55 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 74586
- Location:
- trunk/src/VBox/Devices/Bus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r39091 r39135 112 112 uint8_t uBus; 113 113 #endif 114 /* Physical address of PCI config space MMIO region*/114 /** Physical address of PCI config space MMIO region. */ 115 115 uint64_t u64PciConfigMMioAddress; 116 /* Length of PCI config space MMIO region*/116 /** Length of PCI config space MMIO region. */ 117 117 uint64_t u64PciConfigMMioLength; 118 118 … … 2514 2514 if (pGlobals->u64PciConfigMMioAddress != 0) 2515 2515 { 2516 rc = PDMDevHlpMMIORegister(pDevIns, 2517 pGlobals->u64PciConfigMMioAddress, 2518 pGlobals->u64PciConfigMMioLength, 2519 0, 2520 ich9pciMcfgMMIOWrite, 2521 ich9pciMcfgMMIORead, 2522 NULL /* fill */, 2523 "MCFG ranges"); 2524 if (RT_FAILURE(rc)) 2525 { 2526 AssertMsgRC(rc, ("Cannot register MCFG MMIO: %Rrc\n", rc)); 2527 return rc; 2528 } 2516 rc = PDMDevHlpMMIORegister(pDevIns, pGlobals->u64PciConfigMMioAddress, pGlobals->u64PciConfigMMioLength, NULL /*pvUser*/, 2517 IOMMMIO_FLAGS_READ_PASSTHRU | IOMMMIO_FLAGS_WRITE_PASSTHRU, 2518 ich9pciMcfgMMIOWrite, ich9pciMcfgMMIORead, "MCFG ranges"); 2519 AssertMsgRCReturn(rc, ("rc=%Rrc %#llx/%#llx\n", rc, pGlobals->u64PciConfigMMioAddress, pGlobals->u64PciConfigMMioLength), rc); 2529 2520 2530 2521 if (fGCEnabled) -
trunk/src/VBox/Devices/Bus/MsixCommon.cpp
r39091 r39135 157 157 158 158 int rc = PDMDevHlpMMIORegister(pPciDev->pDevIns, GCPhysAddress, cb, pPciDev, 159 msixMMIOWrite, msixMMIORead, NULL, "MSI-X tables"); 159 IOMMMIO_FLAGS_READ_PASSTHRU | IOMMMIO_FLAGS_WRITE_PASSTHRU, 160 msixMMIOWrite, msixMMIORead, "MSI-X tables"); 160 161 161 162 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.