Changeset 41420 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- May 23, 2012 3:14:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r41391 r41420 1632 1632 RTGCPHYS GCPhysPage = GST_GET_PTE_GCPHYS(PteSrc); 1633 1633 # endif 1634 PGM_A20_ASSERT_MASKED(pVCpu, GCPhysPage); 1635 1634 1636 /* 1635 1637 * Find the ram range. … … 2243 2245 if (!SHW_PTE_IS_P(pPTDst->a[iPTDst])) 2244 2246 { 2245 RTGCPTR GCPtrCurPage = (GCPtrPage & ~(RTGCPTR)(SHW_PT_MASK << SHW_PT_SHIFT)) | (iPTDst << PAGE_SHIFT); 2247 RTGCPTR GCPtrCurPage = PGM_A20_APPLY(pVCpu, (GCPtrPage & ~(RTGCPTR)(SHW_PT_MASK << SHW_PT_SHIFT)) 2248 | (iPTDst << PAGE_SHIFT)); 2246 2249 2247 2250 PGM_BTH_NAME(SyncPageWorker)(pVCpu, &pPTDst->a[iPTDst], GCPtrCurPage, pShwPage, iPTDst); … … 2262 2265 { 2263 2266 const unsigned iPTDst = (GCPtrPage >> SHW_PT_SHIFT) & SHW_PT_MASK; 2264 RTGCPTR GCPtrCurPage = (GCPtrPage & ~(RTGCPTR)(SHW_PT_MASK << SHW_PT_SHIFT)) | (iPTDst << PAGE_SHIFT); 2267 RTGCPTR GCPtrCurPage = PGM_A20_APPLY(pVCpu, (GCPtrPage & ~(RTGCPTR)(SHW_PT_MASK << SHW_PT_SHIFT)) 2268 | (iPTDst << PAGE_SHIFT)); 2265 2269 2266 2270 PGM_BTH_NAME(SyncPageWorker)(pVCpu, &pPTDst->a[iPTDst], GCPtrCurPage, pShwPage, iPTDst); … … 3199 3203 3200 3204 /* Mask away the page offset. */ 3201 GCPtrPage &= ~( (RTGCPTR)0xfff);3205 GCPtrPage &= ~(RTGCPTR)PAGE_OFFSET_MASK; 3202 3206 3203 3207 for (unsigned iPTDst = 0; iPTDst < RT_ELEMENTS(pPTDst->a); iPTDst++) … … 3208 3212 PGM_BTH_NAME(SyncPageWorker)(pVCpu, &pPTDst->a[iPTDst], GCPtrCurPage, pShwPage, iPTDst); 3209 3213 Log2(("SyncPage: 4K+ %RGv PteSrc:{P=1 RW=1 U=1} PteDst=%08llx%s\n", 3210 3211 3212 3214 GCPtrCurPage, 3215 SHW_PTE_LOG64(pPTDst->a[iPTDst]), 3216 SHW_PTE_IS_TRACK_DIRTY(pPTDst->a[iPTDst]) ? " Track-Dirty" : "")); 3213 3217 3214 3218 if (RT_UNLIKELY(VM_FF_ISPENDING(pVM, VM_FF_PGM_NO_MEMORY))) … … 3676 3680 * @param pVM The virtual machine. 3677 3681 * @param pVCpu The VMCPU handle. 3678 * @param cr3 Guest context CR3 register 3679 * @param cr4 Guest context CR4 register 3682 * @param cr3 Guest context CR3 register. 3683 * @param cr4 Guest context CR4 register. 3680 3684 * @param GCPtr Where to start. Defaults to 0. 3681 3685 * @param cb How much to check. Defaults to everything. … … 4451 4455 4452 4456 LogFlow(("MapCR3: %RGp\n", GCPhysCR3)); 4457 PGM_A20_ASSERT_MASKED(pVCpu, GCPhysCR3); 4453 4458 4454 4459 /* … … 4572 4577 4573 4578 Assert(!pVM->pgm.s.fNestedPaging); 4579 PGM_A20_ASSERT_MASKED(pVCpu, GCPhysCR3); 4574 4580 4575 4581 /*
Note:
See TracChangeset
for help on using the changeset viewer.