VirtualBox

Changeset 15745 in vbox


Ignore:
Timestamp:
Dec 24, 2008 11:52:02 AM (16 years ago)
Author:
vboxsync
Message:

Some cleanup

File:
1 edited

Legend:

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

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