vbox的更動 13045 路徑 trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
- 時間撮記:
- 2008-10-7 下午01:04:43 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r13040 r13045 1250 1250 unsigned iPage; 1251 1251 int rc2 = pgmHandlerVirtualFindByPhysAddr(pVM, GCPhys, &pNode, &iPage); 1252 if (VBOX_SUCCESS(rc2) && pNode->pfnHandler HC)1252 if (VBOX_SUCCESS(rc2) && pNode->pfnHandlerR3) 1253 1253 { 1254 1254 size_t cbRange = pNode->Core.KeyLast - GCPhys + 1; … … 1262 1262 void *pvSrc = PGMRAMRANGE_GETHCPTR(pRam, off) 1263 1263 1264 /* * @noteDangerous assumption that HC handlers don't do anything that really requires an EMT lock! */1265 rc = pNode->pfnHandler HC(pVM, (RTGCPTR)GCPtr, pvSrc, pvBuf, cb, PGMACCESSTYPE_READ, 0);1264 /* Note: Dangerous assumption that HC handlers don't do anything that really requires an EMT lock! */ 1265 rc = pNode->pfnHandlerR3(pVM, (RTGCPTR)GCPtr, pvSrc, pvBuf, cb, PGMACCESSTYPE_READ, 0); 1266 1266 } 1267 1267 #endif /* IN_RING3 */ … … 1491 1491 void *pvDst = PGMRAMRANGE_GETHCPTR(pRam, off) 1492 1492 1493 /* * @note Dangerous assumption that HChandlers don't do anything that really requires an EMT lock! */1493 /* Note! Dangerous assumption that R3 handlers don't do anything that really requires an EMT lock! */ 1494 1494 rc = pPhysNode->pfnHandlerR3(pVM, GCPhys, pvDst, (void *)pvBuf, cb, PGMACCESSTYPE_WRITE, pPhysNode->pvUserR3); 1495 1495 } … … 1499 1499 unsigned iPage; 1500 1500 int rc2 = pgmHandlerVirtualFindByPhysAddr(pVM, GCPhys, &pVirtNode, &iPage); 1501 if (VBOX_SUCCESS(rc2) && pVirtNode->pfnHandler HC)1501 if (VBOX_SUCCESS(rc2) && pVirtNode->pfnHandlerR3) 1502 1502 { 1503 1503 size_t cbRange = pVirtNode->Core.KeyLast - GCPhys + 1; … … 1511 1511 void *pvDst = PGMRAMRANGE_GETHCPTR(pRam, off) 1512 1512 1513 /* * @note Dangerous assumption that HChandlers don't do anything that really requires an EMT lock! */1514 rc2 = pVirtNode->pfnHandler HC(pVM, (RTGCPTR)GCPtr, pvDst, (void *)pvBuf, cb, PGMACCESSTYPE_WRITE, 0);1513 /* Note! Dangerous assumption that R3 handlers don't do anything that really requires an EMT lock! */ 1514 rc2 = pVirtNode->pfnHandlerR3(pVM, (RTGCPTR)GCPtr, pvDst, (void *)pvBuf, cb, PGMACCESSTYPE_WRITE, 0); 1515 1515 if ( ( rc2 != VINF_PGM_HANDLER_DO_DEFAULT 1516 1516 && rc == VINF_PGM_HANDLER_DO_DEFAULT) … … 1549 1549 unsigned iPage; 1550 1550 int rc2 = pgmHandlerVirtualFindByPhysAddr(pVM, GCPhys, &pNode, &iPage); 1551 if (VBOX_SUCCESS(rc2) && pNode->pfnHandler HC)1551 if (VBOX_SUCCESS(rc2) && pNode->pfnHandlerR3) 1552 1552 { 1553 1553 size_t cbRange = pNode->Core.KeyLast - GCPhys + 1; … … 1561 1561 void *pvDst = PGMRAMRANGE_GETHCPTR(pRam, off) 1562 1562 1563 /* * @tode Dangerous assumption that HChandlers don't do anything that really requires an EMT lock! */1564 rc = pNode->pfnHandler HC(pVM, (RTGCPTR)GCPtr, pvDst, (void *)pvBuf, cb, PGMACCESSTYPE_WRITE, 0);1563 /* Note! Dangerous assumption that R3 handlers don't do anything that really requires an EMT lock! */ 1564 rc = pNode->pfnHandlerR3(pVM, (RTGCPTR)GCPtr, pvDst, (void *)pvBuf, cb, PGMACCESSTYPE_WRITE, 0); 1565 1565 } 1566 1566 #endif /* IN_RING3 */
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器