VirtualBox

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


Ignore:
Timestamp:
Jun 30, 2008 5:10:48 PM (16 years ago)
Author:
vboxsync
Message:

Moved some assertions around

File:
1 edited

Legend:

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

    r10021 r10034  
    408408PGM_GST_DECL(int, MapCR3)(PVM pVM, RTGCPHYS GCPhysCR3)
    409409{
    410     Assert(!HWACCMIsNestedPagingActive(pVM));
    411410#if PGM_GST_TYPE == PGM_TYPE_32BIT \
    412411 || PGM_GST_TYPE == PGM_TYPE_PAE \
     
    470469            PPGMPOOL pPool = pVM->pgm.s.CTXSUFF(pPool);
    471470
     471            Assert(!HWACCMIsNestedPagingActive(pVM));
     472
    472473            pVM->pgm.s.pGstPaePML4HC = (R3R0PTRTYPE(PX86PML4))HCPtrGuestCR3;
    473474
     
    512513{
    513514    LogFlow(("UnmapCR3\n"));
    514     Assert(!HWACCMIsNestedPagingActive(pVM));
    515515
    516516    int rc = VINF_SUCCESS;
     
    530530
    531531#elif PGM_GST_TYPE == PGM_TYPE_AMD64
     532    Assert(!HWACCMIsNestedPagingActive(pVM));
    532533    pVM->pgm.s.pGstPaePML4HC = 0;
    533534    pVM->pgm.s.pHCPaePML4    = 0;
     
    563564{
    564565    Assert(!pVM->pgm.s.fMappingsFixed);
    565     Assert(!HWACCMIsNestedPagingActive(pVM));
    566566    int rc = VINF_SUCCESS;
    567567
     
    666666{
    667667    int rc = VINF_SUCCESS;
    668 
    669     Assert(!HWACCMIsNestedPagingActive(pVM));
    670668
    671669    /*
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