VirtualBox

Changeset 38221 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 28, 2011 2:11:14 PM (13 years ago)
Author:
vboxsync
Message:

Fixed assertion.

File:
1 edited

Legend:

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

    r38188 r38221  
    459459    int         reg;
    460460
    461     Assert(!(u32 & ~0xff)); /* Check for garbage in high bits. */
    462461    if (cb == 1)
    463462    {
     463        Assert(!(u32 & ~0xff)); /* Check for garbage in high bits. */
    464464        reg = port & 7;
    465465        dc->au8Page[reg]   = u32;
     
    470470    else if (cb == 2)
    471471    {
     472        Assert(!(u32 & ~0xffff)); /* Check for garbage in high bits. */
    472473        reg = port & 7;
    473474        dc->au8Page[reg]   = u32;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette