VirtualBox

Changeset 16506 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 4, 2009 10:50:15 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42416
Message:

Adjusted assertion slightly

File:
1 edited

Legend:

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

    r16481 r16506  
    14881488        /* The guest's TSS can span multiple pages now. We will monitor the whole thing. */
    14891489#ifndef DEBUG_michael
    1490         AssertMsg((GCPtrTss >> PAGE_SHIFT) == ((GCPtrTss + sizeof(VBOXTSS) - 1) >> PAGE_SHIFT),
     1490        AssertMsg((GCPtrTss >> PAGE_SHIFT) == ((GCPtrTss + RT_MIN(sizeof(VBOXTSS), cbTss) - 1) >> PAGE_SHIFT),
    14911491                  ("GCPtrTss=%RGv cbTss=%#x - We assume everything is inside one page!\n", GCPtrTss, cbTss));
    14921492#endif
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