VirtualBox

Changeset 9692 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 13, 2008 4:03:19 PM (17 years ago)
Author:
vboxsync
Message:

Partly backed out previous changeset

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMInternal.h

    r9690 r9692  
    12871287/** PAE Page Directory Table 3. */
    12881288#define PGMPOOL_IDX_PAE_PD_3    6
    1289 /** AMD64 Page Directory Table. */
    1290 #define PGMPOOL_IDX_AMD64_PD    7
    12911289/** Page Directory Pointer Table (PAE root, not currently used). */
    1292 #define PGMPOOL_IDX_PDPT        8
     1290#define PGMPOOL_IDX_PDPT        7
    12931291/** Page Map Level-4 (64-bit root). */
    1294 #define PGMPOOL_IDX_PML4        9
     1292#define PGMPOOL_IDX_PML4        8
    12951293/** The first normal index. */
    1296 #define PGMPOOL_IDX_FIRST       10
     1294#define PGMPOOL_IDX_FIRST       9
    12971295/** The last valid index. (inclusive, 14 bits) */
    12981296#define PGMPOOL_IDX_LAST        0x3fff
  • trunk/src/VBox/VMM/PGMPool.cpp

    r9691 r9692  
    259259        pPool->aPages[PGMPOOL_IDX_PAE_PD_0 + i].idx       = PGMPOOL_IDX_PAE_PD_0 + i;
    260260    }
    261 
     261 
    262262    /* The Shadow PDPT. */
    263263    pPool->aPages[PGMPOOL_IDX_PDPT].Core.Key  = NIL_RTHCPHYS;
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r9690 r9692  
    30173017                                && !(pPDDst->a[iPD].u & PGM_PDFLAGS_MAPPING))
    30183018                            {
    3019                                 AssertCompile(PGMPOOL_IDX_AMD64_PD == SHW_POOL_ROOT_IDX);
    3020                                 pgmPoolFreeByPage(pPool, pgmPoolGetPage(pPool, pPDDst->a[iPD].u & SHW_PDE_PG_MASK), PGMPOOL_IDX_AMD64_PD, (iPML4E * X86_PG_PAE_ENTRIES + iPDPTE) * X86_PG_PAE_ENTRIES + iPD);
     3019                                pgmPoolFreeByPage(pPool, pgmPoolGetPage(pPool, pPDDst->a[iPD].u & SHW_PDE_PG_MASK), SHW_POOL_ROOT_IDX, (iPML4E * X86_PG_PAE_ENTRIES + iPDPTE) * X86_PG_PAE_ENTRIES + iPD);
    30213020                                pPDDst->a[iPD].u = 0;
    30223021                            }
  • trunk/src/VBox/VMM/VMMAll/PGMAllShw.h

    r9690 r9692  
    7878# define SHW_PDPT_MASK         X86_PDPT_MASK_AMD64
    7979# define SHW_TOTAL_PD_ENTRIES   (X86_PG_AMD64_ENTRIES*X86_PG_AMD64_PDPE_ENTRIES)
    80 # define SHW_POOL_ROOT_IDX      PGMPOOL_IDX_AMD64_PD
     80# define SHW_POOL_ROOT_IDX      PGMPOOL_IDX_PAE_PD
    8181#else /* 32 bits PAE mode */
    8282# define SHW_PDPT_SHIFT        X86_PDPT_SHIFT
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