Changeset 36678 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Apr 15, 2011 9:24:13 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71177
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r36663 r36678 958 958 pRegion->map_func = pfnCallback; 959 959 960 /* Set type in the config space. */ 961 uint32_t u32Address = ich9pciGetRegionReg(iRegion); 962 uint32_t u32Value = 963 (((enmType & PCI_ADDRESS_SPACE_MEM_PREFETCH) != 0) ? (1 << 3) : 0) 964 | (((enmType & PCI_ADDRESS_SPACE_IO) != 0) ? 1 : 0); 965 PCIDevSetDWord(pPciDev, u32Address, u32Value); 960 /* Set type in the PCI config space. */ 961 uint32_t u32Value = ((uint32_t)enmType) & (PCI_ADDRESS_SPACE_IO | PCI_ADDRESS_SPACE_BAR64 | PCI_ADDRESS_SPACE_MEM_PREFETCH); 962 PCIDevSetDWord(pPciDev, ich9pciGetRegionReg(iRegion), u32Value); 966 963 967 964 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.