Changeset 39273 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Nov 11, 2011 2:04:11 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 74822
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r39136 r39273 1863 1863 if ( pciDevIsMsiCapable(aDev) 1864 1864 && (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)) 1866 1866 ) 1867 1867 { … … 1871 1871 if ( pciDevIsMsixCapable(aDev) 1872 1872 && (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)) 1874 1874 ) 1875 1875 { … … 1956 1956 if ( pciDevIsMsiCapable(aDev) 1957 1957 && (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)) 1959 1959 ) 1960 1960 { … … 1967 1967 if ( pciDevIsMsixCapable(aDev) 1968 1968 && (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)) 1970 1970 ) 1971 1971 { … … 2282 2282 char szDescBuf[128]; 2283 2283 2284 bool f64Bit = (pRegion->type & PCI_ADDRESS_SPACE_BAR64);2284 bool f64Bit = !!(pRegion->type & PCI_ADDRESS_SPACE_BAR64); 2285 2285 if (pRegion->type & PCI_ADDRESS_SPACE_IO) 2286 2286 { … … 2546 2546 /** @todo: other chipset devices shall be registered too */ 2547 2547 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); 2549 2550 2550 2551 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.