VirtualBox

Changeset 26218 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Feb 3, 2010 9:24:13 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57248
Message:

*.kmk: Started renaming templated from all caps to CamelCase. At the same time preparing to make warnings errors (VBOX_WITH_WARNINGS_AS_ERRORS=1 to LocalConfig.kmk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r26202 r26218  
    10521052    }
    10531053
    1054     /* Fetch the pgm pool shadow descriptor. */ 
    1055     PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdpt].u & SHW_PDPE_PG_MASK); 
    1056     Assert(pShwPde); 
     1054    /* Fetch the pgm pool shadow descriptor. */
     1055    PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdpt].u & SHW_PDPE_PG_MASK);
     1056    Assert(pShwPde);
    10571057
    10581058# endif /* PGM_SHW_TYPE == PGM_TYPE_AMD64 */
     
    21952195    Log(("CheckPageFault: real page fault at %RGv (%d)\n", GCPtrPage, uPageFaultLevel));
    21962196
    2197     if (
     2197    if (    1
    21982198#  if PGM_GST_TYPE == PGM_TYPE_AMD64
    2199             pPml4eSrc->n.u1Present &&
     2199         && pPml4eSrc->n.u1Present
    22002200#  endif
    22012201#  if PGM_GST_TYPE == PGM_TYPE_AMD64 || PGM_GST_TYPE == PGM_TYPE_PAE
    2202             pPdpeSrc->n.u1Present  &&
     2202         && pPdpeSrc->n.u1Present
    22032203#  endif
    2204            pPdeSrc->n.u1Present)
     2204         && pPdeSrc->n.u1Present)
    22052205    {
    22062206        /* Check the present bit as the shadow tables can cause different error codes by being out of sync. */
     
    22182218             * Map the guest page table.
    22192219             */
    2220             PGSTPT pPTSrc;
    2221             rc = PGM_GCPHYS_2_PTR(pVM, pPdeSrc->u & GST_PDE_PG_MASK, &pPTSrc);
     2220            PGSTPT pPTSrc2;
     2221            rc = PGM_GCPHYS_2_PTR(pVM, pPdeSrc->u & GST_PDE_PG_MASK, &pPTSrc2);
    22222222            if (RT_SUCCESS(rc))
    22232223            {
    2224                 PGSTPTE         pPteSrc = &pPTSrc->a[(GCPtrPage >> GST_PT_SHIFT) & GST_PT_MASK];
    2225                 const GSTPTE    PteSrc = *pPteSrc;
     2224                PGSTPTE pPteSrc = &pPTSrc2->a[(GCPtrPage >> GST_PT_SHIFT) & GST_PT_MASK];
    22262225                if (pPteSrc->n.u1Present)
    22272226                    TRPMSetErrorCode(pVCpu, uErr | X86_TRAP_PF_P); /* page-level protection violation */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette