Changeset 93554 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
- Timestamp:
- Feb 2, 2022 10:57:02 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r93160 r93554 336 336 pWalk->fSucceeded = true; 337 337 RTGCPHYS GCPhysPte = GST_GET_PTE_GCPHYS(Pte) 338 | (GCPtr & PAGE_OFFSET_MASK);338 | (GCPtr & GUEST_PAGE_OFFSET_MASK); 339 339 # ifdef VBOX_WITH_NESTED_HWVIRT_VMX_EPT 340 340 PGM_GST_SLAT_WALK(pVCpu, GCPtr, GCPhysPte, GCPhysPte, pWalk); … … 406 406 } 407 407 408 pWalk->GCPhys &= ~(RTGCPHYS) PAGE_OFFSET_MASK;408 pWalk->GCPhys &= ~(RTGCPHYS)GUEST_PAGE_OFFSET_MASK; 409 409 pWalk->fEffective = fFlags; 410 410 return VINF_SUCCESS; … … 432 432 PGM_GST_DECL(int, ModifyPage)(PVMCPUCC pVCpu, RTGCPTR GCPtr, size_t cb, uint64_t fFlags, uint64_t fMask) 433 433 { 434 Assert((cb & PAGE_OFFSET_MASK) == 0); RT_NOREF_PV(cb);434 Assert((cb & GUEST_PAGE_OFFSET_MASK) == 0); RT_NOREF_PV(cb); 435 435 436 436 #if PGM_GST_TYPE == PGM_TYPE_32BIT \ … … 461 461 462 462 /* next page */ 463 cb -= PAGE_SIZE;463 cb -= GUEST_PAGE_SIZE; 464 464 if (!cb) 465 465 return VINF_SUCCESS; 466 GCPtr += PAGE_SIZE;466 GCPtr += GUEST_PAGE_SIZE; 467 467 iPTE++; 468 468 }
Note:
See TracChangeset
for help on using the changeset viewer.