- Timestamp:
- Jul 28, 2016 3:45:56 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r62630 r62631 2178 2178 case VBOX_PCI_COMMAND+1: /* Command register, bits 8-15. */ 2179 2179 /* don't change reserved bits (11-15) */ 2180 u8Val &= UINT32_C(~0xf8);2180 u8Val &= ~UINT32_C(0xf8); 2181 2181 fUpdateMappings = true; 2182 2182 goto default_case; 2183 2183 case VBOX_PCI_STATUS: /* Status register, bits 0-7. */ 2184 2184 /* don't change read-only bits => actually all lower bits are read-only */ 2185 u8Val &= UINT32_C(~0xff);2185 u8Val &= ~UINT32_C(0xff); 2186 2186 /* status register, low part: clear bits by writing a '1' to the corresponding bit */ 2187 2187 aDev->config[addr] &= ~u8Val; … … 2189 2189 case VBOX_PCI_STATUS+1: /* Status register, bits 8-15. */ 2190 2190 /* don't change read-only bits */ 2191 u8Val &= UINT32_C(~0x06);2191 u8Val &= ~UINT32_C(0x06); 2192 2192 /* status register, high part: clear bits by writing a '1' to the corresponding bit */ 2193 2193 aDev->config[addr] &= ~u8Val;
Note:
See TracChangeset
for help on using the changeset viewer.