- Timestamp:
- Mar 15, 2007 10:19:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/SELMGC.cpp
r1502 r1503 289 289 290 290 /** @todo not sure how the partial case is handled; probably not allowed */ 291 if (offRedirBitmap + sizeof(pVM->selm.s.Tss.redirBitmap) <= pVM->selm.s.cbGuestTss) 291 if ( offRedirBitmap <= offRange 292 && offRedirBitmap + sizeof(pVM->selm.s.Tss.redirBitmap) >= offRange + cb 293 && offRedirBitmap + sizeof(pVM->selm.s.Tss.redirBitmap) <= pVM->selm.s.cbGuestTss) 292 294 { 293 /** @todo check if fault was in this range and, if so, only update the changed part. */ 295 Log(("offIoBitmap=%x offRedirBitmap=%x cbTSS=%x\n", pGuestTSS->offIoBitmap, offRedirBitmap, pVM->selm.s.cbGuestTss)); 296 /** @todo only update the changed part. */ 294 297 for (uint32_t i=0;i<sizeof(pVM->selm.s.Tss.redirBitmap)/8;i++) 295 298 { 296 299 rc = MMGCRamRead(pVM, &pVM->selm.s.Tss.redirBitmap[i*8], (uint8_t *)pGuestTSS + offRedirBitmap + i*8, 8); 297 Assert RC(rc);300 AssertMsg(rc == VINF_SUCCESS, ("MMGCRamRead %VGv failed with %Vrc\n", (uint8_t *)pGuestTSS + offRedirBitmap + i*8, rc)); 298 301 } 299 302 STAM_COUNTER_INC(&pVM->selm.s.StatGCWriteGuestTSSRedir);
Note:
See TracChangeset
for help on using the changeset viewer.