VirtualBox

Changeset 1509 in vbox for trunk


Ignore:
Timestamp:
Mar 15, 2007 12:02:23 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19583
Message:

Same for the SELMR3CheckTSS function

File:
1 edited

Legend:

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

    r1508 r1509  
    16991699            cbTss = (cbTss << PAGE_SHIFT) | PAGE_OFFSET_MASK;
    17001700        cbTss++;
    1701         /* Don't bother with anything but the core structure. (Actually all we care for is the r0 ss.) */
    1702         if (cbTss > sizeof(VBOXTSS))
    1703             cbTss = sizeof(VBOXTSS);
    1704         AssertMsg((GCPtrTss >> PAGE_SHIFT) == ((GCPtrTss + cbTss - 1) >> PAGE_SHIFT),
     1701        AssertMsg((GCPtrTss >> PAGE_SHIFT) == ((GCPtrTss + sizeof(VBOXTSS) - 1) >> PAGE_SHIFT),
    17051702                  ("GCPtrTss=%VGv cbTss=%#x - We assume everything is inside one page!\n", GCPtrTss, cbTss));
    17061703
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