Changeset 64392 in vbox for trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
- Timestamp:
- Oct 24, 2016 2:27:35 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r64391 r64392 596 596 apic_level = pGlobals->uaPciApicIrqLevels[irq_num] != 0; 597 597 Log3(("ich9pciApicSetIrq: %s: irq_num1=%d level=%d apic_irq=%d apic_level=%d irq_num1=%d uTagSrc=%#x\n", 598 R3STRING(pPciDev-> name), irq_num1, iLevel, apic_irq, apic_level, irq_num, uTagSrc));598 R3STRING(pPciDev->pszNameR3), irq_num1, iLevel, apic_irq, apic_level, irq_num, uTagSrc)); 599 599 pBus->CTX_SUFF(pPciHlp)->pfnIoApicSetIrq(pBus->CTX_SUFF(pDevIns), apic_irq, apic_level, uTagSrc); 600 600 … … 609 609 apic_level = pGlobals->uaPciApicIrqLevels[irq_num] != 0; 610 610 Log3(("ich9pciApicSetIrq: %s: irq_num1=%d level=%d apic_irq=%d apic_level=%d irq_num1=%d uTagSrc=%#x (flop)\n", 611 R3STRING(pPciDev-> name), irq_num1, iLevel, apic_irq, apic_level, irq_num, uTagSrc));611 R3STRING(pPciDev->pszNameR3), irq_num1, iLevel, apic_irq, apic_level, irq_num, uTagSrc)); 612 612 pBus->CTX_SUFF(pPciHlp)->pfnIoApicSetIrq(pBus->CTX_SUFF(pDevIns), apic_irq, apic_level, uTagSrc); 613 613 } 614 614 } else { 615 615 Log3(("ich9pciApicSetIrq: (forced) %s: irq_num1=%d level=%d acpi_irq=%d uTagSrc=%#x\n", 616 R3STRING(pPciDev-> name), irq_num1, iLevel, iForcedIrq, uTagSrc));616 R3STRING(pPciDev->pszNameR3), irq_num1, iLevel, iForcedIrq, uTagSrc)); 617 617 pBus->CTX_SUFF(pPciHlp)->pfnIoApicSetIrq(pBus->CTX_SUFF(pDevIns), iForcedIrq, iLevel, uTagSrc); 618 618 } … … 1006 1006 1007 1007 Log(("ich9pciIORegionRegister: %s region %d size %RGp type %x\n", 1008 pPciDev-> name, iRegion, cbRegion, enmType));1008 pPciDev->pszNameR3, iRegion, cbRegion, enmType)); 1009 1009 1010 1010 /* Make sure that we haven't marked this region as continuation of 64-bit region. */ … … 1155 1155 if (pPciDev) 1156 1156 { 1157 Log(("%s: %s: addr=%02x val=%08x len=%d\n", __FUNCTION__, pPciDev-> name, u32Address, u32Value, cb));1157 Log(("%s: %s: addr=%02x val=%08x len=%d\n", __FUNCTION__, pPciDev->pszNameR3, u32Address, u32Value, cb)); 1158 1158 pPciDev->Int.s.pfnConfigWrite(pPciDev->Int.s.CTX_SUFF(pDevIns), pPciDev, u32Address, u32Value, cb); 1159 1159 } … … 1188 1188 { 1189 1189 u32Value = pPciDev->Int.s.pfnConfigRead(pPciDev->Int.s.CTX_SUFF(pDevIns), pPciDev, u32Address, cb); 1190 Log(("%s: %s: u32Address=%02x u32Value=%08x cb=%d\n", __FUNCTION__, pPciDev-> name, u32Address, u32Value, cb));1190 Log(("%s: %s: u32Address=%02x u32Value=%08x cb=%d\n", __FUNCTION__, pPciDev->pszNameR3, u32Address, u32Value, cb)); 1191 1191 } 1192 1192 else … … 1338 1338 if (!s_aFields[i].fWritable) 1339 1339 LogRel(("PCI: %8s/%u: %2u-bit field %s: %x -> %x - !READ ONLY!\n", 1340 pDev-> name, pDev->Int.s.CTX_SUFF(pDevIns)->iInstance, cb*8, s_aFields[i].pszName, u32Dst, u32Src));1340 pDev->pszNameR3, pDev->Int.s.CTX_SUFF(pDevIns)->iInstance, cb*8, s_aFields[i].pszName, u32Dst, u32Src)); 1341 1341 else 1342 1342 LogRel(("PCI: %8s/%u: %2u-bit field %s: %x -> %x\n", 1343 pDev-> name, pDev->Int.s.CTX_SUFF(pDevIns)->iInstance, cb*8, s_aFields[i].pszName, u32Dst, u32Src));1343 pDev->pszNameR3, pDev->Int.s.CTX_SUFF(pDevIns)->iInstance, cb*8, s_aFields[i].pszName, u32Dst, u32Src)); 1344 1344 } 1345 1345 if (off == VBOX_PCI_COMMAND) … … 1360 1360 { 1361 1361 LogRel(("PCI: %8s/%u: register %02x: %02x -> %02x\n", 1362 pDev-> name, pDev->Int.s.CTX_SUFF(pDevIns)->iInstance, off, pbDstConfig[off], pbSrcConfig[off])); /** @todo make this Log() later. */1362 pDev->pszNameR3, pDev->Int.s.CTX_SUFF(pDevIns)->iInstance, off, pbDstConfig[off], pbSrcConfig[off])); /** @todo make this Log() later. */ 1363 1363 pbDstConfig[off] = pbSrcConfig[off]; 1364 1364 } … … 1429 1429 if (pDev) 1430 1430 { 1431 LogRel(("PCI: New device in slot %#x, %s (vendor=%#06x device=%#06x)\n", i, pDev-> name,1431 LogRel(("PCI: New device in slot %#x, %s (vendor=%#06x device=%#06x)\n", i, pDev->pszNameR3, 1432 1432 PCIDevGetVendorId(pDev), PCIDevGetDeviceId(pDev))); 1433 1433 if (SSMR3HandleGetAfter(pSSM) != SSMAFTER_DEBUG_IT) 1434 1434 { 1435 1435 rc = SSMR3SetCfgError(pSSM, RT_SRC_POS, N_("New device in slot %#x, %s (vendor=%#06x device=%#06x)"), 1436 i, pDev-> name, PCIDevGetVendorId(pDev), PCIDevGetDeviceId(pDev));1436 i, pDev->pszNameR3, PCIDevGetVendorId(pDev), PCIDevGetDeviceId(pDev)); 1437 1437 break; 1438 1438 } … … 1488 1488 { 1489 1489 rc = SSMR3SetCfgError(pSSM, RT_SRC_POS, N_("Device in slot %#x (%s) vendor id mismatch! saved=%.4Rhxs current=%.4Rhxs"), 1490 i, pDev-> name, PCIDevGetVendorId(&DevTmp), PCIDevGetVendorId(pDev));1490 i, pDev->pszNameR3, PCIDevGetVendorId(&DevTmp), PCIDevGetVendorId(pDev)); 1491 1491 break; 1492 1492 } … … 1979 1979 { 1980 1980 LogRel(("PCI: %8s/%u: Read from extended register %d fallen back to generic code\n", 1981 pPciDev-> name, pPciDev->Int.s.CTX_SUFF(pDevIns)->iInstance, u32Address));1981 pPciDev->pszNameR3, pPciDev->Int.s.CTX_SUFF(pDevIns)->iInstance, u32Address)); 1982 1982 return 0; 1983 1983 } … … 2078 2078 { 2079 2079 LogRel(("PCI: %8s/%u: Write to extended register %d fallen back to generic code\n", 2080 pPciDev-> name, pPciDev->Int.s.CTX_SUFF(pDevIns)->iInstance, u32Address));2080 pPciDev->pszNameR3, pPciDev->Int.s.CTX_SUFF(pDevIns)->iInstance, u32Address)); 2081 2081 return; 2082 2082 } … … 2252 2252 pHlp->pfnPrintf(pHlp, "%02x:%02x:%02x %s%s: %04x-%04x", 2253 2253 pBus->iBus, (iDev >> 3) & 0xff, iDev & 0x7, 2254 pPciDev-> name,2254 pPciDev->pszNameR3, 2255 2255 pciDevIsPassthrough(pPciDev) ? " (PASSTHROUGH)" : "", 2256 2256 ich9pciGetWord(pPciDev, VBOX_PCI_VENDOR_ID), ich9pciGetWord(pPciDev, VBOX_PCI_DEVICE_ID)
Note:
See TracChangeset
for help on using the changeset viewer.