- Timestamp:
- Dec 2, 2020 5:09:19 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA-cmd.cpp
r86905 r87028 673 673 Log5Func(("%s phys=%RGp\n", (enmDirection == VMSVGAGboTransferDirection_Read) ? "READ" : "WRITE", GCPhys)); 674 674 675 /* 676 * We are deliberately using the non-PCI version of PDMDevHlpPCIPhys[Read|Write] as the 677 * guest-side VMSVGA driver seems to allocate non-DMA (regular physical) addresses, 678 * see @bugref{9654#c75}. 679 */ 675 680 if (enmDirection == VMSVGAGboTransferDirection_Read) 676 rc = PDMDevHlpP CIPhysRead(pSvgaR3State->pDevIns, GCPhys, pu8CurrentHost, cbToCopy);681 rc = PDMDevHlpPhysRead(pSvgaR3State->pDevIns, GCPhys, pu8CurrentHost, cbToCopy); 677 682 else 678 rc = PDMDevHlpP CIPhysWrite(pSvgaR3State->pDevIns, GCPhys, pu8CurrentHost, cbToCopy);683 rc = PDMDevHlpPhysWrite(pSvgaR3State->pDevIns, GCPhys, pu8CurrentHost, cbToCopy); 679 684 AssertRCBreak(rc); 680 685 … … 6341 6346 Log5Func(("%s phys=%RGp\n", (enmTransferType == SVGA3D_WRITE_HOST_VRAM) ? "READ" : "WRITE", GCPhys)); 6342 6347 6348 /* 6349 * We are deliberately using the non-PCI version of PDMDevHlpPCIPhys[Read|Write] as the 6350 * guest-side VMSVGA driver seems to allocate non-DMA (physical memory) addresses, 6351 * see @bugref{9654#c75}. 6352 */ 6343 6353 if (enmTransferType == SVGA3D_WRITE_HOST_VRAM) 6344 rc = PDMDevHlpP CIPhysRead(pDevIns, GCPhys, pbCurrentHost, cbToCopy);6354 rc = PDMDevHlpPhysRead(pDevIns, GCPhys, pbCurrentHost, cbToCopy); 6345 6355 else 6346 rc = PDMDevHlpP CIPhysWrite(pDevIns, GCPhys, pbCurrentHost, cbToCopy);6356 rc = PDMDevHlpPhysWrite(pDevIns, GCPhys, pbCurrentHost, cbToCopy); 6347 6357 AssertRCBreak(rc); 6348 6358
Note:
See TracChangeset
for help on using the changeset viewer.

