VirtualBox

Changeset 39273 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Nov 11, 2011 2:04:11 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74822
Message:

Updated help info, fixed a few innocent MSVC warnings.

File:
1 edited

Legend:

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

    r39136 r39273  
    18631863    if (   pciDevIsMsiCapable(aDev)
    18641864        && (u32Address >= aDev->Int.s.u8MsiCapOffset)
    1865         && (u32Address <  aDev->Int.s.u8MsiCapOffset + aDev->Int.s.u8MsiCapSize)
     1865        && (u32Address < (unsigned)(aDev->Int.s.u8MsiCapOffset + aDev->Int.s.u8MsiCapSize))
    18661866       )
    18671867    {
     
    18711871    if (   pciDevIsMsixCapable(aDev)
    18721872        && (u32Address >= aDev->Int.s.u8MsixCapOffset)
    1873         && (u32Address <  aDev->Int.s.u8MsixCapOffset + aDev->Int.s.u8MsixCapSize)
     1873        && (u32Address < (unsigned)(aDev->Int.s.u8MsixCapOffset + aDev->Int.s.u8MsixCapSize))
    18741874       )
    18751875    {
     
    19561956    if (   pciDevIsMsiCapable(aDev)
    19571957        && (u32Address >= aDev->Int.s.u8MsiCapOffset)
    1958         && (u32Address <  aDev->Int.s.u8MsiCapOffset + aDev->Int.s.u8MsiCapSize)
     1958        && (u32Address < (unsigned)(aDev->Int.s.u8MsiCapOffset + aDev->Int.s.u8MsiCapSize))
    19591959       )
    19601960    {
     
    19671967    if (   pciDevIsMsixCapable(aDev)
    19681968        && (u32Address >= aDev->Int.s.u8MsixCapOffset)
    1969         && (u32Address <  aDev->Int.s.u8MsixCapOffset + aDev->Int.s.u8MsixCapSize)
     1969        && (u32Address < (unsigned)(aDev->Int.s.u8MsixCapOffset + aDev->Int.s.u8MsixCapSize))
    19701970       )
    19711971    {
     
    22822282                    char szDescBuf[128];
    22832283
    2284                     bool f64Bit = (pRegion->type & PCI_ADDRESS_SPACE_BAR64);
     2284                    bool f64Bit = !!(pRegion->type & PCI_ADDRESS_SPACE_BAR64);
    22852285                    if (pRegion->type & PCI_ADDRESS_SPACE_IO)
    22862286                    {
     
    25462546    /** @todo: other chipset devices shall be registered too */
    25472547
    2548     PDMDevHlpDBGFInfoRegister(pDevIns, "pci", "Display PCI bus status. (no arguments)", ich9pciInfo);
     2548    PDMDevHlpDBGFInfoRegister(pDevIns, "pci", "Display PCI bus status. Recognizes 'basic' or 'verbose' "
     2549                                              "as arguments, defaults to 'basic'.", ich9pciInfo);
    25492550
    25502551    return VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

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