VirtualBox

Changeset 14096 in vbox


Ignore:
Timestamp:
Nov 11, 2008 4:54:07 PM (16 years ago)
Author:
vboxsync
Message:

#1865: shadow pae, the forth bit. (dead code checks)

File:
1 edited

Legend:

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

    r14095 r14096  
    31593159#  if PGM_GST_TYPE == PGM_TYPE_AMD64
    31603160    bool fBigPagesSupported = true;
     3161    # error "We should not be here!"
    31613162#  else
    31623163    bool fBigPagesSupported = !!(CPUMGetGuestCR4(pVM) & X86_CR4_PSE);
     
    32023203    }
    32033204#  if PGM_GST_TYPE == PGM_TYPE_AMD64
     3205    # error "We should not be here!"
    32043206    for (uint64_t iPml4 = 0; iPml4 < X86_PG_PAE_ENTRIES; iPml4++)
    32053207    {
     
    34313433                                            || (   (PdeSrc.u & (X86_PDE4M_PS | X86_PDE4M_G)) == (X86_PDE4M_PS | X86_PDE4M_G)
    34323434#   if PGM_GST_TYPE == PGM_TYPE_AMD64
     3435    # error "We should not be here!"
    34333436                                                && (cr4 & X86_CR4_PGE)) /* global 2/4MB page. */
    34343437#   else
     
    34523455                                    && (PdeSrc.u & (X86_PDE4M_PS | X86_PDE4M_G)) == (X86_PDE4M_PS | X86_PDE4M_G)
    34533456#   if PGM_GST_TYPE == PGM_TYPE_AMD64
     3457    # error "We should not be here!"
    34543458                                    && (cr4 & X86_CR4_PGE)) /* global 2/4MB page. */
    34553459#   else
     
    34713475                            {
    34723476#  if PGM_GST_TYPE == PGM_TYPE_AMD64
     3477    # error "We should not be here!"
    34733478                                pgmPoolFreeByPage(pPool, pShwPage, pShwPde->idx, iPdShw);
    34743479#  else
     
    35043509                        {
    35053510#  if PGM_GST_TYPE == PGM_TYPE_AMD64
     3511    # error "We should not be here!"
    35063512                            pgmPoolFreeByPage(pPool, pgmPoolGetPage(pPool, pPDEDst->u & SHW_PDE_PG_MASK), pShwPde->idx, iPdShw);
    35073513#  else
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