Changeset 60042 in vbox
- Timestamp:
- Mar 15, 2016 1:53:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r59850 r60042 1377 1377 { 1378 1378 /* Pointer to the next physical page of descriptors. */ 1379 GCPhys = GCPhysBase = desc.ppn << PAGE_SHIFT;1379 GCPhys = GCPhysBase = (RTGCPHYS)desc.ppn << PAGE_SHIFT; 1380 1380 } 1381 1381 else … … 1388 1388 } 1389 1389 1390 pSVGAState->aGMR[idGMR].paDesc[iDescriptor].GCPhys = desc.ppn << PAGE_SHIFT;1390 pSVGAState->aGMR[idGMR].paDesc[iDescriptor].GCPhys = (RTGCPHYS)desc.ppn << PAGE_SHIFT; 1391 1391 pSVGAState->aGMR[idGMR].paDesc[iDescriptor++].numPages = desc.numPages; 1392 1392 pSVGAState->aGMR[idGMR].cbTotal += desc.numPages * PAGE_SIZE; … … 2921 2921 GCPhys = (pPage64[0] << PAGE_SHIFT) & 0x00000FFFFFFFFFFFULL; /* seeing rubbish in the top bits with certain linux guests*/ 2922 2922 else 2923 GCPhys = pPage32[0] << PAGE_SHIFT;2923 GCPhys = (RTGCPHYS)pPage32[0] << PAGE_SHIFT; 2924 2924 2925 2925 pGMR->paDesc[0].GCPhys = GCPhys; … … 2932 2932 GCPhys = (pPage64[i] << PAGE_SHIFT) & 0x00000FFFFFFFFFFFULL; /* seeing rubbish in the top bits with certain linux guests*/ 2933 2933 else 2934 GCPhys = pPage32[i] << PAGE_SHIFT;2934 GCPhys = (RTGCPHYS)pPage32[i] << PAGE_SHIFT; 2935 2935 2936 2936 /* Continuous physical memory? */
Note:
See TracChangeset
for help on using the changeset viewer.