Changeset 14095 in vbox
- Timestamp:
- Nov 11, 2008 4:51:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r14094 r14095 3732 3732 } 3733 3733 3734 # if PGM_GST_TYPE == PGM_TYPE_PAE3735 /* not correct to call pgmPoolGetPage */3736 AssertFailed();3737 # endif3738 3734 pShwPdpt = pgmPoolGetPage(pPool, pPml4eDst->u & X86_PML4E_PG_MASK); 3739 3735 GCPhysPdptSrc = pPml4eSrc->u & X86_PML4E_PG_MASK_FULL; … … 3764 3760 continue; 3765 3761 } 3766 # else 3767 { 3768 # endif 3762 # else /* PGM_GST_TYPE != PGM_TYPE_AMD64 */ 3763 { 3764 # endif /* PGM_GST_TYPE != PGM_TYPE_AMD64 */ 3769 3765 3770 3766 # if PGM_GST_TYPE == PGM_TYPE_AMD64 || PGM_GST_TYPE == PGM_TYPE_PAE … … 3783 3779 X86PDPE PdpeSrc; 3784 3780 PGSTPD pPDSrc = pgmGstGetPaePDPtr(&pVM->pgm.s, GCPtr, &iPDSrc, &PdpeSrc); 3785 PX86PDPAE pPDDst = pVM->pgm.s.CTXMID(ap,PaePDs)[0];3786 3781 PX86PDPT pPdptDst = pgmShwGetPaePDPTPtr(&pVM->pgm.s); 3787 3782 # else … … 3853 3848 # if PGM_SHW_TYPE == PGM_TYPE_32BIT 3854 3849 PCX86PD pPDDst = pPGM->CTXMID(p,32BitPD); 3855 # else3856 PCX86PDPAE pPDDst = pVM->pgm.s.CTXMID(ap,PaePDs)[0]; /* We treat this as a PD with 2048 entries, so no need to and with SHW_PD_MASK to get iPDDst */3857 3850 # endif 3858 3851 # endif … … 3867 3860 iPDDst++, GCPtr += cIncrement) 3868 3861 { 3862 # if PGM_SHW_TYPE == PGM_TYPE_PAE 3863 const SHWPDE PdeDst = *pgmShwGetPaePDEPtr(pPGM, GCPtr); 3864 # else 3869 3865 const SHWPDE PdeDst = pPDDst->a[iPDDst]; 3866 # endif 3870 3867 if (PdeDst.u & PGM_PDFLAGS_MAPPING) 3871 3868 {
Note:
See TracChangeset
for help on using the changeset viewer.