Changeset 16481 in vbox for trunk/src/VBox/VMM/SELM.cpp
- Timestamp:
- Feb 3, 2009 10:34:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/SELM.cpp
r16476 r16481 1567 1567 { 1568 1568 uint32_t offRedirBitmap; 1569 1569 1570 1570 /* Make sure the io bitmap offset is valid; anything less than sizeof(VBOXTSS) means there's none. */ 1571 1571 if (tss.offIoBitmap < RT_OFFSETOF(VBOXTSS, IntRedirBitmap) + sizeof(tss.IntRedirBitmap)) … … 1574 1574 tss.offIoBitmap = RT_OFFSETOF(VBOXTSS, IntRedirBitmap) + sizeof(tss.IntRedirBitmap); 1575 1575 } 1576 1576 1577 1577 offRedirBitmap = tss.offIoBitmap - sizeof(tss.IntRedirBitmap); 1578 1578 … … 1773 1773 cbTss = sizeof(VBOXTSS); 1774 1774 # endif 1775 # ifndef DEBUG_michael1775 # ifndef DEBUG_michael 1776 1776 AssertMsg((GCPtrTss >> PAGE_SHIFT) == ((GCPtrTss + sizeof(VBOXTSS) - 1) >> PAGE_SHIFT), 1777 1777 ("GCPtrTss=%RGv cbTss=%#x - We assume everything is inside one page!\n", GCPtrTss, cbTss)); 1778 # endif1778 # endif 1779 1779 1780 1780 // All system GDTs are marked not present above. That explains why this check fails.
Note:
See TracChangeset
for help on using the changeset viewer.