- Timestamp:
- Sep 29, 2010 4:32:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/MsiCommon.cpp
r32821 r32822 32 32 DECLINLINE(bool) msiIs64Bit(PPCIDEVICE pDev) 33 33 { 34 return (msiGetMessageControl(pDev) & VBOX_PCI_MSI_FLAGS_64BIT != 0);34 return (msiGetMessageControl(pDev) & VBOX_PCI_MSI_FLAGS_64BIT) != 0; 35 35 } 36 36 37 37 DECLINLINE(bool) msiIsEnabled(PPCIDEVICE pDev) 38 38 { 39 return msiGetMessageControl(pDev) & VBOX_PCI_MSI_FLAGS_ENABLE;39 return (msiGetMessageControl(pDev) & VBOX_PCI_MSI_FLAGS_ENABLE) != 0; 40 40 } 41 41
Note:
See TracChangeset
for help on using the changeset viewer.