Changeset 17531 in vbox
- Timestamp:
- Mar 8, 2009 2:58:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r17515 r17531 1342 1342 LogFlow(("emInterpretStosWD dest=%04X:%RGv (%RGv) cbSize=%d\n", pRegFrame->es, GCOffset, GCDest, cbSize)); 1343 1343 1344 #ifdef VBOX_WITH_NEW_PHYS_CODE 1345 rc = emRamWrite(pVM, pRegFrame, GCDest, &pRegFrame->rax, cbSize); 1346 #else 1344 1347 rc = PGMPhysWriteGCPtr(pVM, GCDest, &pRegFrame->rax, cbSize); 1348 #endif 1345 1349 if (RT_FAILURE(rc)) 1346 1350 return VERR_EM_INTERPRETER; … … 1370 1374 return VINF_SUCCESS; 1371 1375 1372 /* Do *not* try emulate cross page stuff here, this also fends off big copies which 1373 would kill PGMR0DynMap. */ 1376 /* 1377 * Do *not* try emulate cross page stuff here because we don't know what might 1378 * be waiting for us on the subsequent pages. The caller has only asked us to 1379 * ignore access handlers fro the current page. 1380 * This also fends off big stores which would quickly kill PGMR0DynMap. 1381 */ 1374 1382 if ( cbSize > PAGE_SIZE 1375 1383 || cTransfers > PAGE_SIZE … … 1395 1403 while (cTransfers) 1396 1404 { 1405 #ifdef VBOX_WITH_NEW_PHYS_CODE 1406 rc = emRamWrite(pVM, pRegFrame, GCDest, &pRegFrame->rax, cbSize); 1407 #else 1397 1408 rc = PGMPhysWriteGCPtr(pVM, GCDest, &pRegFrame->rax, cbSize); 1409 #endif 1398 1410 if (RT_FAILURE(rc)) 1399 1411 {
Note:
See TracChangeset
for help on using the changeset viewer.