VirtualBox

Changeset 20126 in vbox


Ignore:
Timestamp:
May 28, 2009 3:47:14 PM (16 years ago)
Author:
vboxsync
Message:

Wrong place

File:
1 edited

Legend:

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

    r20125 r20126  
    25852585            GCPhys |= (iPDDst & 1) * (PAGE_SIZE / 2);
    25862586# endif
     2587            rc = pgmPoolAlloc(pVM, GCPhys, BTH_PGMPOOLKIND_PT_FOR_PT, pShwPde->idx,      iPDDst, &pShwPage);
     2588        }
     2589        else
     2590        {
     2591            GCPhys = GST_GET_PDE_BIG_PG_GCPHYS(PdeSrc);
     2592# if PGM_SHW_TYPE == PGM_TYPE_PAE && PGM_GST_TYPE == PGM_TYPE_32BIT
     2593            /* Select the right PDE as we're emulating a 4MB page directory with two 2 MB shadow PDEs.*/
     2594            GCPhys |= GCPtrPage & (1 << X86_PD_PAE_SHIFT);
     2595# endif
    25872596            /* Modify the physical address to distinguish between different access types to prevent incorrect reuse of cached entries. */
    25882597            if (PdeSrc.n.u1Write)
     
    25912600                GCPhys |= PGMPOOL_PHYS_ACCESS_USER;
    25922601
    2593             rc = pgmPoolAlloc(pVM, GCPhys, BTH_PGMPOOLKIND_PT_FOR_PT, pShwPde->idx,      iPDDst, &pShwPage);
    2594         }
    2595         else
    2596         {
    2597             GCPhys = GST_GET_PDE_BIG_PG_GCPHYS(PdeSrc);
    2598 # if PGM_SHW_TYPE == PGM_TYPE_PAE && PGM_GST_TYPE == PGM_TYPE_32BIT
    2599             /* Select the right PDE as we're emulating a 4MB page directory with two 2 MB shadow PDEs.*/
    2600             GCPhys |= GCPtrPage & (1 << X86_PD_PAE_SHIFT);
    2601 # endif
    26022602            rc = pgmPoolAlloc(pVM, GCPhys, BTH_PGMPOOLKIND_PT_FOR_BIG, pShwPde->idx,      iPDDst, &pShwPage);
    26032603        }
Note: See TracChangeset for help on using the changeset viewer.

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