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