Changeset 65532 in vbox
- Timestamp:
- Jan 31, 2017 10:33:49 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r65526 r65532 2867 2867 uint8_t uIoBase = ich9pciGetByte(&pBusSub->PciDev, VBOX_PCI_IO_BASE); 2868 2868 uint8_t uIoLimit = ich9pciGetByte(&pBusSub->PciDev, VBOX_PCI_IO_LIMIT); 2869 pHlp->pfnPrintf(pHlp, "I/O %#06x..%#06x", 2870 (uIoBase & 0xf0) << 8, 2871 (uIoLimit & 0xf0) << 8 | 0xfff); 2869 2872 if (uIoBase > uIoLimit) 2870 pHlp->pfnPrintf(pHlp, "no I/O\n"); 2871 else 2872 pHlp->pfnPrintf(pHlp, "I/O %#06x..%#06x\n", 2873 (uIoBase & 0xf0) << 8, 2874 (uIoLimit & 0xf0) << 8 | 0xfff); 2873 pHlp->pfnPrintf(pHlp, " (IGNORED)"); 2874 pHlp->pfnPrintf(pHlp, "\n"); 2875 2875 devpciR3InfoIndent(pHlp, iIndentLvl); 2876 2876 pHlp->pfnPrintf(pHlp, "behind bridge: "); 2877 2877 uint32_t uMemoryBase = ich9pciGetWord(&pBusSub->PciDev, VBOX_PCI_MEMORY_BASE); 2878 2878 uint32_t uMemoryLimit = ich9pciGetWord(&pBusSub->PciDev, VBOX_PCI_MEMORY_LIMIT); 2879 pHlp->pfnPrintf(pHlp, "memory %#010x..%#010x", 2880 (uMemoryBase & 0xfff0) << 16, 2881 (uMemoryLimit & 0xfff0) << 16 | 0xfffff); 2879 2882 if (uMemoryBase > uMemoryLimit) 2880 pHlp->pfnPrintf(pHlp, "no memory\n"); 2881 else 2882 pHlp->pfnPrintf(pHlp, "memory %#010x..%#010x\n", 2883 (uMemoryBase & 0xfff0) << 16, 2884 (uMemoryLimit & 0xfff0) << 16 | 0xfffff); 2883 pHlp->pfnPrintf(pHlp, " (IGNORED)"); 2884 pHlp->pfnPrintf(pHlp, "\n"); 2885 2885 devpciR3InfoIndent(pHlp, iIndentLvl); 2886 2886 pHlp->pfnPrintf(pHlp, "behind bridge: "); 2887 2887 uint32_t uPrefMemoryBase = ich9pciGetWord(&pBusSub->PciDev, VBOX_PCI_PREF_MEMORY_BASE); 2888 2888 uint32_t uPrefMemoryLimit = ich9pciGetWord(&pBusSub->PciDev, VBOX_PCI_PREF_MEMORY_LIMIT); 2889 pHlp->pfnPrintf(pHlp, "prefetch memory %#018llx..%#018llx", 2890 ( (uint64_t)ich9pciGetDWord(&pBusSub->PciDev, VBOX_PCI_PREF_BASE_UPPER32) << 32) 2891 |(uPrefMemoryBase & 0xfff0) << 16, 2892 ( (uint64_t)ich9pciGetDWord(&pBusSub->PciDev, VBOX_PCI_PREF_LIMIT_UPPER32) << 32) 2893 |(uPrefMemoryLimit & 0xfff0) << 16 | 0xfffff); 2889 2894 if (uPrefMemoryBase > uPrefMemoryLimit) 2890 pHlp->pfnPrintf(pHlp, "no prefetch memory\n"); 2891 else 2892 pHlp->pfnPrintf(pHlp, "prefetch memory %#018llx..%#018llx\n", 2893 ( (uint64_t)ich9pciGetDWord(&pBusSub->PciDev, VBOX_PCI_PREF_BASE_UPPER32) << 32) 2894 |(uPrefMemoryBase & 0xfff0) << 16, 2895 ( (uint64_t)ich9pciGetDWord(&pBusSub->PciDev, VBOX_PCI_PREF_LIMIT_UPPER32) << 32) 2896 |(uPrefMemoryLimit & 0xfff0) << 16 | 0xfffff); 2895 pHlp->pfnPrintf(pHlp, " (IGNORED)\n"); 2896 pHlp->pfnPrintf(pHlp, "\n"); 2897 2897 devpciR3InfoPciBus(pBusSub, pHlp, iIndentLvl + 1, fRegisters); 2898 2898 }
Note:
See TracChangeset
for help on using the changeset viewer.