Changeset 15750 in vbox for trunk/src/VBox
- Timestamp:
- Dec 24, 2008 12:59:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/SELM.cpp
r15745 r15750 1566 1566 uint32_t offRedirBitmap; 1567 1567 1568 AssertCompile(RT_OFFSETOF(VBOXTSS, IntRedirBitmap) + sizeof(tss.IntRedirBitmap) == sizeof(VBOXTSS));1569 1568 /* Make sure the io bitmap offset is valid; anything less than sizeof(VBOXTSS) means there's none. */ 1570 if (tss.offIoBitmap < sizeof(VBOXTSS))1569 if (tss.offIoBitmap < RT_OFFSETOF(VBOXTSS, IntRedirBitmap) + sizeof(tss.IntRedirBitmap)) 1571 1570 { 1572 1571 Log(("Invalid io bitmap offset detected (%x)!\n", tss.offIoBitmap)); 1573 tss.offIoBitmap = sizeof(VBOXTSS);1572 tss.offIoBitmap = RT_OFFSETOF(VBOXTSS, IntRedirBitmap) + sizeof(tss.IntRedirBitmap); 1574 1573 } 1575 1574
Note:
See TracChangeset
for help on using the changeset viewer.