VirtualBox

Changeset 16421 in vbox for trunk/src/VBox/VMM/PGM.cpp


Ignore:
Timestamp:
Jan 30, 2009 3:08:59 PM (16 years ago)
Author:
vboxsync
Message:

Postpone changing the paging mode to real mode until PGMR3InitFinalize (VBOX_WITH_PGMPOOL_PAGING_ONLY).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGM.cpp

    r16412 r16421  
    15391539    }
    15401540    rc = pgmR3ModeDataInit(pVM, false /* don't resolve GC and R0 syms yet */);
     1541#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    15411542    if (RT_SUCCESS(rc))
    15421543        rc = PGMR3ChangeMode(pVM, PGMMODE_REAL);
     1544#endif
    15431545    if (RT_SUCCESS(rc))
    15441546    {
     
    19561958        pVM->pgm.s.GCPhys4MBPSEMask = RT_BIT_64(32) - 1;
    19571959
     1960#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
     1961    rc = PGMR3ChangeMode(pVM, PGMMODE_REAL);
     1962    AssertRC(rc);
     1963#endif
    19581964    LogRel(("PGMR3InitFinalize: 4 MB PSE mask %RGp\n", pVM->pgm.s.GCPhys4MBPSEMask));
    19591965
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