VirtualBox

Changeset 9032 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 21, 2008 4:06:09 PM (17 years ago)
Author:
vboxsync
Message:

Nested paging updates

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r9026 r9032  
    922922            return pVM->pgm.s.HCPhysPaePML4;
    923923
     924        case PGMMODE_NESTED:
     925            return PGMGetNestedCR3(pVM, PGMGetHostMode(pVM));
     926
    924927        default:
    925928            AssertMsgFailed(("enmShadowMode=%d\n", enmShadowMode));
     
    10391042        case PGMMODE_AMD64_NX:
    10401043            return pVM->pgm.s.HCPhysInterPaePML4;
     1044
     1045        case PGMMODE_NESTED:
     1046            return 0; /* not relevant */
    10411047
    10421048        default:
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r9021 r9032  
    25232523PGM_BTH_DECL(int, PrefetchPage)(PVM pVM, RTGCUINTPTR GCPtrPage)
    25242524{
    2525     Assert(!HWACCMIsNestedPagingActive(pVM));
    25262525#if (PGM_GST_TYPE == PGM_TYPE_32BIT || PGM_GST_TYPE == PGM_TYPE_REAL || PGM_GST_TYPE == PGM_TYPE_PROT || PGM_GST_TYPE == PGM_TYPE_PAE) \
    25272526    && PGM_SHW_TYPE != PGM_TYPE_AMD64 && PGM_SHW_TYPE != PGM_TYPE_NESTED
     
    25792578    }
    25802579    return rc;
    2581 
     2580#elif PGM_SHW_TYPE == PGM_TYPE_NESTED
     2581    return VINF_SUCCESS; /* ignore */
    25822582#else /* PGM_GST_TYPE == PGM_TYPE_AMD64 */
    25832583
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