VirtualBox

Ignore:
Timestamp:
Oct 24, 2016 2:27:35 PM (8 years ago)
Author:
vboxsync
Message:

PDMPCIDEV: s/name/pszName/ everywhere, removing the legacy alias.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPciIch9.cpp

    r64391 r64392  
    596596        apic_level = pGlobals->uaPciApicIrqLevels[irq_num] != 0;
    597597        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));
    599599        pBus->CTX_SUFF(pPciHlp)->pfnIoApicSetIrq(pBus->CTX_SUFF(pDevIns), apic_irq, apic_level, uTagSrc);
    600600
     
    609609            apic_level = pGlobals->uaPciApicIrqLevels[irq_num] != 0;
    610610            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));
    612612            pBus->CTX_SUFF(pPciHlp)->pfnIoApicSetIrq(pBus->CTX_SUFF(pDevIns), apic_irq, apic_level, uTagSrc);
    613613        }
    614614    } else {
    615615        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));
    617617        pBus->CTX_SUFF(pPciHlp)->pfnIoApicSetIrq(pBus->CTX_SUFF(pDevIns), iForcedIrq, iLevel, uTagSrc);
    618618    }
     
    10061006
    10071007    Log(("ich9pciIORegionRegister: %s region %d size %RGp type %x\n",
    1008          pPciDev->name, iRegion, cbRegion, enmType));
     1008         pPciDev->pszNameR3, iRegion, cbRegion, enmType));
    10091009
    10101010    /* Make sure that we haven't marked this region as continuation of 64-bit region. */
     
    11551155        if (pPciDev)
    11561156        {
    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));
    11581158            pPciDev->Int.s.pfnConfigWrite(pPciDev->Int.s.CTX_SUFF(pDevIns), pPciDev, u32Address, u32Value, cb);
    11591159        }
     
    11881188        {
    11891189            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));
    11911191        }
    11921192        else
     
    13381338                    if (!s_aFields[i].fWritable)
    13391339                        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));
    13411341                    else
    13421342                        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));
    13441344                }
    13451345                if (off == VBOX_PCI_COMMAND)
     
    13601360        {
    13611361            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. */
    13631363            pbDstConfig[off] = pbSrcConfig[off];
    13641364        }
     
    14291429            if (pDev)
    14301430            {
    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,
    14321432                        PCIDevGetVendorId(pDev), PCIDevGetDeviceId(pDev)));
    14331433                if (SSMR3HandleGetAfter(pSSM) != SSMAFTER_DEBUG_IT)
    14341434                {
    14351435                    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));
    14371437                    break;
    14381438                }
     
    14881488        {
    14891489            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));
    14911491            break;
    14921492        }
     
    19791979    {
    19801980        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));
    19821982        return 0;
    19831983    }
     
    20782078    {
    20792079        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));
    20812081        return;
    20822082    }
     
    22522252            pHlp->pfnPrintf(pHlp, "%02x:%02x:%02x %s%s: %04x-%04x",
    22532253                            pBus->iBus, (iDev >> 3) & 0xff, iDev & 0x7,
    2254                             pPciDev->name,
     2254                            pPciDev->pszNameR3,
    22552255                            pciDevIsPassthrough(pPciDev) ? " (PASSTHROUGH)" : "",
    22562256                            ich9pciGetWord(pPciDev, VBOX_PCI_VENDOR_ID), ich9pciGetWord(pPciDev, VBOX_PCI_DEVICE_ID)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette