Changeset 1501 in vbox
- Timestamp:
- Mar 15, 2007 9:22:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/SELM.cpp
r1500 r1501 148 148 pVM->selm.s.fSyncTSSRing0Stack = false; 149 149 150 /* The I/O bitmap starts right after the virtual interrupt redirection bitmap. Outside the TSS on purpose; the CPU will not check it 151 * for I/O operations. */ 152 pVM->selm.s.Tss.offIoBitmap = sizeof(VBOXTSS); 153 /* bit set to 1 means no redirection */ 154 memset(pVM->selm.s.Tss.redirBitmap, 0xff, sizeof(pVM->selm.s.Tss.redirBitmap)); 155 150 156 /* 151 157 * Register the saved state data unit. … … 299 305 pDesc = &paGdt[pVM->selm.s.aHyperSel[SELM_HYPER_SEL_TSS] >> 3]; 300 306 RTGCPTR pGCTSS = VM_GUEST_ADDR(pVM, &pVM->selm.s.Tss); 301 302 /* The I/O bitmap starts right after the virtual interrupt redirection bitmap. Outside the TSS on purpose; the CPU will not check it303 * for I/O operations. */304 pVM->selm.s.Tss.offIoBitmap = RT_OFFSETOF(VBOXTSS, redirBitmap) + sizeof(pVM->selm.s.Tss.redirBitmap);305 /* bit set to 1 means no redirection */306 memset(pVM->selm.s.Tss.redirBitmap, 0xff, sizeof(pVM->selm.s.Tss.redirBitmap));307 308 307 pDesc->Gen.u16BaseLow = RT_LOWORD(pGCTSS); 309 308 pDesc->Gen.u8BaseHigh1 = RT_BYTE3(pGCTSS);
Note:
See TracChangeset
for help on using the changeset viewer.