VirtualBox

Changeset 68841 in vbox for trunk/src/VBox/Runtime/common/fs


Ignore:
Timestamp:
Sep 23, 2017 1:05:34 AM (7 years ago)
Author:
vboxsync
Message:

isomaker: Don't ignore bit 0 when scanning, duh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/isomakercmd.cpp

    r68840 r68841  
    12041204                {
    12051205                    /* Look for the next clear bit after it (with wrap around). */
    1206                     //int iHit = ASMBitNextClear(pvBitmap, RT_ALIGN_32(cBlocks, 64), iBlock); - buggy assembly somewhere...
    12071206                    int iHit = ASMBitNextClear(pvBitmap, cBlocks, iBlock);
    12081207                    Assert(iHit < (int32_t)cBlocks);
    12091208                    if (iHit < 0)
    12101209                    {
    1211                         //iHit = ASMBitNextClear(pvBitmap, RT_ALIGN_32(iBlock, 64), 0); - buggy assembly somewhere...
    1212                         iHit = ASMBitNextClear(pvBitmap, iBlock, 0);
     1210                        iHit = ASMBitFirstClear(pvBitmap, iBlock);
    12131211                        Assert(iHit < (int32_t)cBlocks);
    12141212                    }
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