- Timestamp:
- Jul 28, 2016 3:44:19 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r62628 r62629 451 451 { 452 452 /* don't change reserved bits (11-15) */ 453 val &= UINT32_C(~0xf8);453 val &= ~UINT32_C(0xf8); 454 454 d->config[addr] = val; 455 455 } … … 457 457 { 458 458 /* don't change read-only bits => actually all lower bits are read-only */ 459 val &= UINT32_C(~0xff);459 val &= ~UINT32_C(0xff); 460 460 /* status register, low part: clear bits by writing a '1' to the corresponding bit */ 461 461 d->config[addr] &= ~val; … … 464 464 { 465 465 /* don't change read-only bits */ 466 val &= UINT32_C(~0x06);466 val &= ~UINT32_C(0x06); 467 467 /* status register, high part: clear bits by writing a '1' to the corresponding bit */ 468 468 d->config[addr] &= ~val;
Note:
See TracChangeset
for help on using the changeset viewer.