VirtualBox

Changeset 62995 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 4, 2016 3:17:10 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109604
Message:

Devices: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevLPC.cpp

    r62885 r62995  
    311311
    312312    /* F0h-F3h RCBA Root Complex Base Address */
    313     pThis->dev.config[0xf0] = (uint8_t)(RCBA_BASE | 1); /* enabled */
    314     pThis->dev.config[0xf1] = (uint8_t)(RCBA_BASE >> 8);
    315     pThis->dev.config[0xf2] = (uint8_t)(RCBA_BASE >> 16);
    316     pThis->dev.config[0xf3] = (uint8_t)(RCBA_BASE >> 24);
     313    pThis->dev.config[0xf0] = RT_BYTE1(RCBA_BASE | 1); /* enabled */
     314    pThis->dev.config[0xf1] = RT_BYTE2(RCBA_BASE);
     315    pThis->dev.config[0xf2] = RT_BYTE3(RCBA_BASE);
     316    pThis->dev.config[0xf3] = RT_BYTE4(RCBA_BASE);
    317317
    318318    rc = PDMDevHlpPCIRegister (pDevIns, &pThis->dev);
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