Changeset 3166 in vbox for trunk/src/VBox/Devices/VMMDev
- Timestamp:
- Jun 19, 2007 9:13:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp
r2981 r3166 204 204 RTHCPTR HCPtr; 205 205 206 rc = pDevIns->pDevHlp->pfnPhysGCPtr2HCPtr (pDevIns, GCPtr, &HCPtr); 207 // rc = PGMPhysGCPtr2HCPtr (pVM, GCPtr, &HCPtr); 206 rc = PDMDevHlpPhysGCPtr2HCPtr(pDevIns, GCPtr, &HCPtr); 208 207 209 208 Log(("vmmdevHGCMSaveLinPtr: Page %d: %VGv -> %p. %Vrc\n", iPage, GCPtr, HCPtr, rc)); … … 482 481 pHostParm->u.pointer.size = size; 483 482 484 rc = pVMMDevState->pDevIns->pDevHlp->pfnPhys2HCVirt (pVMMDevState->pDevIns, physAddr, 485 size, &pHostParm->u.pointer.addr); 483 rc = PDMDevHlpPhys2HCVirt (pVMMDevState->pDevIns, physAddr, size, &pHostParm->u.pointer.addr); 486 484 487 485 Log(("vmmdevHGCMCall: PhysAddr guest parameter %VGp\n", physAddr)); … … 510 508 /* Don't overdo it */ 511 509 if (pGuestParm->type != VMMDevHGCMParmType_LinAddr_Out) 512 { 513 rc = pVMMDevState->pDevIns->pDevHlp->pfnPhysReadGCVirt (pVMMDevState->pDevIns, pcBuf, 514 linearAddr, size); 515 } 510 rc = PDMDevHlpPhysReadGCVirt(pVMMDevState->pDevIns, pcBuf, linearAddr, size); 516 511 else 517 512 rc = VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.