VirtualBox

Changeset 15750 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 24, 2008 12:59:56 PM (16 years ago)
Author:
vboxsync
Message:

Backed out 41313. Assert failed on Linux/Mac boxes for some reason

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/SELM.cpp

    r15745 r15750  
    15661566                    uint32_t offRedirBitmap;
    15671567                   
    1568                     AssertCompile(RT_OFFSETOF(VBOXTSS, IntRedirBitmap) + sizeof(tss.IntRedirBitmap) == sizeof(VBOXTSS));
    15691568                    /* Make sure the io bitmap offset is valid; anything less than sizeof(VBOXTSS) means there's none. */
    1570                     if (tss.offIoBitmap < sizeof(VBOXTSS))
     1569                    if (tss.offIoBitmap < RT_OFFSETOF(VBOXTSS, IntRedirBitmap) + sizeof(tss.IntRedirBitmap))
    15711570                    {
    15721571                        Log(("Invalid io bitmap offset detected (%x)!\n", tss.offIoBitmap));
    1573                         tss.offIoBitmap = sizeof(VBOXTSS);
     1572                        tss.offIoBitmap = RT_OFFSETOF(VBOXTSS, IntRedirBitmap) + sizeof(tss.IntRedirBitmap);
    15741573                    }
    15751574                       
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