- Timestamp:
- May 17, 2010 4:07:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
r29572 r29574 2650 2650 2651 2651 /* Modify the page structure. */ 2652 pPage->Shared.pfn = (uint32_t)( HCPhys >> PAGE_SHIFT);2652 pPage->Shared.pfn = (uint32_t)(uint64_t)(HCPhys >> PAGE_SHIFT); 2653 2653 pPage->Shared.cRefs = 1; 2654 2654 pPage->Common.u2State = GMM_PAGE_STATE_SHARED; … … 3821 3821 } 3822 3822 3823 Log(("Replace existing page guest %RGp host %RHp -> %RHp\n", paPageDesc[i].GCPhys, paPageDesc[i].HCPhys, pPage->Shared.pfn<< PAGE_SHIFT));3823 Log(("Replace existing page guest %RGp host %RHp -> %RHp\n", paPageDesc[i].GCPhys, paPageDesc[i].HCPhys, ((uint64_t)pPage->Shared.pfn) << PAGE_SHIFT)); 3824 3824 3825 3825 /* Calculate the virtual address of the local page. */ … … 3878 3878 3879 3879 /* Pass along the new physical address & page id. */ 3880 paPageDesc[i].HCPhys = pPage->Shared.pfn<< PAGE_SHIFT;3880 paPageDesc[i].HCPhys = ((uint64_t)pPage->Shared.pfn) << PAGE_SHIFT; 3881 3881 paPageDesc[i].uHCPhysPageId = pGlobalRegion->paHCPhysPageID[i]; 3882 3882 }
Note:
See TracChangeset
for help on using the changeset viewer.