VirtualBox

Changeset 1515 in vbox for trunk


Ignore:
Timestamp:
Mar 15, 2007 3:01:47 PM (18 years ago)
Author:
vboxsync
Message:

Backed out 19582 & 19583. Causes severe regressions.

File:
1 edited

Legend:

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

    r1509 r1515  
    14301430                                  || pDesc->Gen.u4Type == X86_SEL_TYPE_SYS_386_TSS_BUSY;
    14311431
     1432#if 1
     1433        /* Don't bother with anything but the core structure. (Actually all we care for is the r0 ss.) */
     1434        if (cbTss > sizeof(VBOXTSS))
     1435            cbTss = sizeof(VBOXTSS);
     1436#endif
    14321437        /* The guest's TSS can span multiple pages now. We will monitor the whole thing. */
    14331438        AssertMsg((GCPtrTss >> PAGE_SHIFT) == ((GCPtrTss + sizeof(VBOXTSS) - 1) >> PAGE_SHIFT),
     
    16991704            cbTss = (cbTss << PAGE_SHIFT) | PAGE_OFFSET_MASK;
    17001705        cbTss++;
     1706#if 1
     1707        /* Don't bother with anything but the core structure. (Actually all we care for is the r0 ss.) */
     1708        if (cbTss > sizeof(VBOXTSS))
     1709            cbTss = sizeof(VBOXTSS);
     1710#endif
    17011711        AssertMsg((GCPtrTss >> PAGE_SHIFT) == ((GCPtrTss + sizeof(VBOXTSS) - 1) >> PAGE_SHIFT),
    17021712                  ("GCPtrTss=%VGv cbTss=%#x - We assume everything is inside one page!\n", GCPtrTss, cbTss));
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