- Timestamp:
- Mar 15, 2007 3:01:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/SELM.cpp
r1509 r1515 1430 1430 || pDesc->Gen.u4Type == X86_SEL_TYPE_SYS_386_TSS_BUSY; 1431 1431 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 1432 1437 /* The guest's TSS can span multiple pages now. We will monitor the whole thing. */ 1433 1438 AssertMsg((GCPtrTss >> PAGE_SHIFT) == ((GCPtrTss + sizeof(VBOXTSS) - 1) >> PAGE_SHIFT), … … 1699 1704 cbTss = (cbTss << PAGE_SHIFT) | PAGE_OFFSET_MASK; 1700 1705 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 1701 1711 AssertMsg((GCPtrTss >> PAGE_SHIFT) == ((GCPtrTss + sizeof(VBOXTSS) - 1) >> PAGE_SHIFT), 1702 1712 ("GCPtrTss=%VGv cbTss=%#x - We assume everything is inside one page!\n", GCPtrTss, cbTss));
Note:
See TracChangeset
for help on using the changeset viewer.