Changeset 65558 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jan 31, 2017 7:40:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r65557 r65558 2890 2890 devpciR3InfoIndent(pHlp, iIndentLvl); 2891 2891 pHlp->pfnPrintf(pHlp, "behind bridge: "); 2892 uint32_t uPrefMemoryBase = ich9pciGetWord(&pBusSub->PciDev, VBOX_PCI_PREF_MEMORY_BASE); 2893 uint32_t uPrefMemoryLimit = ich9pciGetWord(&pBusSub->PciDev, VBOX_PCI_PREF_MEMORY_LIMIT); 2894 pHlp->pfnPrintf(pHlp, "prefetch memory %#018llx..%#018llx", 2895 ( (uint64_t)ich9pciGetDWord(&pBusSub->PciDev, VBOX_PCI_PREF_BASE_UPPER32) << 32) 2896 |(uPrefMemoryBase & 0xfff0) << 16, 2897 ( (uint64_t)ich9pciGetDWord(&pBusSub->PciDev, VBOX_PCI_PREF_LIMIT_UPPER32) << 32) 2898 |(uPrefMemoryLimit & 0xfff0) << 16 | 0xfffff); 2892 uint32_t uPrefMemoryRegBase = ich9pciGetWord(&pBusSub->PciDev, VBOX_PCI_PREF_MEMORY_BASE); 2893 uint32_t uPrefMemoryRegLimit = ich9pciGetWord(&pBusSub->PciDev, VBOX_PCI_PREF_MEMORY_LIMIT); 2894 uint64_t uPrefMemoryBase = (uPrefMemoryRegBase & 0xfff0) << 16; 2895 uint64_t uPrefMemoryLimit = (uPrefMemoryRegLimit & 0xfff0) << 16 | 0xfffff; 2896 if ( (uPrefMemoryRegBase & 0xf) == 1 2897 && (uPrefMemoryRegLimit & 0xf) == 1) 2898 { 2899 uPrefMemoryBase |= (uint64_t)ich9pciGetDWord(&pBusSub->PciDev, VBOX_PCI_PREF_BASE_UPPER32) << 32; 2900 uPrefMemoryLimit |= (uint64_t)ich9pciGetDWord(&pBusSub->PciDev, VBOX_PCI_PREF_LIMIT_UPPER32) << 32; 2901 pHlp->pfnPrintf(pHlp, "64-bit "); 2902 } 2903 else 2904 pHlp->pfnPrintf(pHlp, "32-bit "); 2905 pHlp->pfnPrintf(pHlp, "prefetch memory %#018llx..%#018llx", uPrefMemoryBase, uPrefMemoryLimit); 2899 2906 if (uPrefMemoryBase > uPrefMemoryLimit) 2900 2907 pHlp->pfnPrintf(pHlp, " (IGNORED)");
Note:
See TracChangeset
for help on using the changeset viewer.