- Timestamp:
- Aug 26, 2010 1:18:54 PM (14 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp
r31993 r31994 2747 2747 iEntry = (VarGCPtr.u.GCFlat >> X86_PD_PAE_SHIFT) & X86_PD_PAE_MASK; 2748 2748 VarPDEAddr = VarCur; 2749 VarPDEAddr.u.u64Number = Pdpe.u & X86_PDPE_PG_MASK ;2749 VarPDEAddr.u.u64Number = Pdpe.u & X86_PDPE_PG_MASK_FULL; 2750 2750 VarPDEAddr.u.u64Number += iEntry * sizeof(X86PDEPAE); 2751 2751 } … … 3116 3116 return DBGCCmdHlpPrintf(pCmdHlp, "Page directory is not present for %Dv.\n", &VarGCPtr); 3117 3117 3118 VarCur.u.u64Number = Pdpe.u & X86_PDPE_PG_MASK ;3118 VarCur.u.u64Number = Pdpe.u & X86_PDPE_PG_MASK_FULL; 3119 3119 3120 3120 /* Page directory (PAE). */ -
trunk/src/VBox/VMM/PGMInline.h
r31993 r31994 762 762 PX86PDPAE pGuestPD = NULL; 763 763 int rc = pgmRZDynMapGCPageInlined(pVCpu, 764 pGuestPDPT->a[iPdpt].u & X86_PDPE_PG_MASK ,764 pGuestPDPT->a[iPdpt].u & X86_PDPE_PG_MASK_FULL, 765 765 (void **)&pGuestPD 766 766 RTLOG_COMMA_SRC_POS); … … 771 771 PX86PDPAE pGuestPD = pVCpu->pgm.s.CTX_SUFF(apGstPaePDs)[iPdpt]; 772 772 if ( !pGuestPD 773 || (pGuestPDPT->a[iPdpt].u & X86_PDPE_PG_MASK ) != pVCpu->pgm.s.aGCPhysGstPaePDs[iPdpt])773 || (pGuestPDPT->a[iPdpt].u & X86_PDPE_PG_MASK_FULL) != pVCpu->pgm.s.aGCPhysGstPaePDs[iPdpt]) 774 774 pgmGstLazyMapPaePD(pVCpu, iPdpt, &pGuestPD); 775 775 if (pGuestPD) … … 815 815 PX86PDPAE pGuestPD = NULL; 816 816 int rc = pgmRZDynMapGCPageInlined(pVCpu, 817 pGuestPDPT->a[iPdpt].u & X86_PDPE_PG_MASK ,817 pGuestPDPT->a[iPdpt].u & X86_PDPE_PG_MASK_FULL, 818 818 (void **)&pGuestPD 819 819 RTLOG_COMMA_SRC_POS); … … 826 826 PX86PDPAE pGuestPD = pVCpu->pgm.s.CTX_SUFF(apGstPaePDs)[iPdpt]; 827 827 if ( !pGuestPD 828 || (pGuestPDPT->a[iPdpt].u & X86_PDPE_PG_MASK ) != pVCpu->pgm.s.aGCPhysGstPaePDs[iPdpt])828 || (pGuestPDPT->a[iPdpt].u & X86_PDPE_PG_MASK_FULL) != pVCpu->pgm.s.aGCPhysGstPaePDs[iPdpt]) 829 829 pgmGstLazyMapPaePD(pVCpu, iPdpt, &pGuestPD); 830 830 #endif … … 932 932 { 933 933 PCX86PDPAE pPD; 934 rc = PGM_GCPHYS_2_PTR_BY_VMCPU(pVCpu, pPdptTemp->a[iPdpt].u & X86_PDPE_PG_MASK , &pPD);934 rc = PGM_GCPHYS_2_PTR_BY_VMCPU(pVCpu, pPdptTemp->a[iPdpt].u & X86_PDPE_PG_MASK_FULL, &pPD); 935 935 if (RT_SUCCESS(rc)) 936 936 { … … 989 989 /* The PDE. */ 990 990 PX86PDPAE pPD; 991 rc = PGM_GCPHYS_2_PTR_BY_VMCPU(pVCpu, pPdptTemp->a[iPdpt].u & X86_PDPE_PG_MASK , &pPD);991 rc = PGM_GCPHYS_2_PTR_BY_VMCPU(pVCpu, pPdptTemp->a[iPdpt].u & X86_PDPE_PG_MASK_FULL, &pPD); 992 992 if (RT_FAILURE(rc)) 993 993 { -
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r31993 r31994 962 962 Assert(!HWACCMIsEnabled(pVM)); 963 963 964 GCPdPt = uGstPdpe & X86_PDPE_PG_MASK ;964 GCPdPt = uGstPdpe & X86_PDPE_PG_MASK_FULL; 965 965 enmKind = PGMPOOLKIND_PAE_PD_PHYS; 966 966 uGstPdpe |= X86_PDPE_P; … … 968 968 else 969 969 { 970 GCPdPt = uGstPdpe & X86_PDPE_PG_MASK ;970 GCPdPt = uGstPdpe & X86_PDPE_PG_MASK_FULL; 971 971 enmKind = PGMPOOLKIND_PAE_PD_FOR_PAE_PD; 972 972 } … … 985 985 /* The PD was cached or created; hook it up now. */ 986 986 pPdpe->u |= pShwPage->Core.Key 987 | (uGstPdpe & ~(X86_PDPE_PG_MASK | X86_PDPE_AVL_MASK | X86_PDPE_PCD | X86_PDPE_PWT));987 | (uGstPdpe & ~(X86_PDPE_PG_MASK_FULL | X86_PDPE_AVL_MASK | X86_PDPE_PCD | X86_PDPE_PWT)); 988 988 989 989 # if defined(IN_RC) … … 1127 1127 else 1128 1128 { 1129 GCPdPt = uGstPdpe & X86_PDPE_PG_MASK ;1129 GCPdPt = uGstPdpe & X86_PDPE_PG_MASK_FULL; 1130 1130 enmKind = PGMPOOLKIND_64BIT_PD_FOR_64BIT_PD; 1131 1131 } … … 1144 1144 /* The PD was cached or created; hook it up now. */ 1145 1145 pPdpe->u |= pShwPage->Core.Key 1146 | (uGstPdpe & ~(X86_PDPE_PG_MASK | X86_PDPE_AVL_MASK | X86_PDPE_PCD | X86_PDPE_PWT));1146 | (uGstPdpe & ~(X86_PDPE_PG_MASK_FULL | X86_PDPE_AVL_MASK | X86_PDPE_PCD | X86_PDPE_PWT)); 1147 1147 1148 1148 *ppPD = (PX86PDPAE)PGMPOOL_PAGE_2_PTR_V2(pVM, pVCpu, pShwPage); -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r31989 r31994 4397 4397 RTHCPTR HCPtr; 4398 4398 RTHCPHYS HCPhys; 4399 RTGCPHYS GCPhys = pGuestPDPT->a[i].u & X86_PDPE_PG_MASK ;4399 RTGCPHYS GCPhys = pGuestPDPT->a[i].u & X86_PDPE_PG_MASK_FULL; 4400 4400 pgmLock(pVM); 4401 4401 PPGMPAGE pPage = pgmPhysGetPage(&pVM->pgm.s, GCPhys);
Note:
See TracChangeset
for help on using the changeset viewer.