VirtualBox

Changeset 8129 in vbox


Ignore:
Timestamp:
Apr 18, 2008 9:13:04 AM (16 years ago)
Author:
vboxsync
Message:

Removed inactive PGM_WITH_BROKEN_32PAE_SWITCHER code

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

Legend:

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

    r8112 r8129  
    406406    }
    407407
    408 #ifndef PGM_WITH_BROKEN_32PAE_SWITCHER
    409408    /* Check if PAE was explicitely enabled by the user. */
    410409    bool fEnable = false;
     
    412411    if (VBOX_SUCCESS(rc) && fEnable)
    413412        CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE);
    414 #endif
    415413
    416414    /*
  • trunk/src/VBox/VMM/PGM.cpp

    r8112 r8129  
    15791579{
    15801580    LogFlow(("PGMR3Relocate\n"));
    1581 
    1582 #ifdef PGM_WITH_BROKEN_32PAE_SWITCHER
    1583     if (!CPUMGetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE))
    1584     {
    1585         bool fEnable = false;
    1586         int rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "EnablePAE", &fEnable);
    1587         if (    VBOX_SUCCESS(rc)
    1588             &&  fEnable
    1589             &&  (PGMGetHostMode(pVM) >= PGMMODE_PAE || HWACCMIsEnabled(pVM))
    1590            )
    1591         {
    1592             CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE);
    1593             LogRel(("PGMR3Relocate: turned on PAE\n"));
    1594         }
    1595     }
    1596 #endif
    15971581
    15981582    /*
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r8113 r8129  
    2727#include "CPUMInternal.h"
    2828#include <VBox/vm.h>
    29 #include <VBox/pgm.h>
    30 #include <VBox/hwaccm.h>
    3129#include <VBox/err.h>
    3230#include <VBox/dis.h>
     
    10361034                return;
    10371035            }
    1038 #ifdef PGM_WITH_BROKEN_32PAE_SWITCHER
    1039             /* Remove this restriction once the 32->PAE switcher works properly. */
    1040             if (    PGMGetHostMode(pVM) <= PGMMODE_32_BIT
    1041                 &&  !HWACCMIsEnabled(pVM))
    1042             {
    1043                 LogRel(("WARNING: Can't turn on PAE when the host is in 32 bits paging mode!!\n"));
    1044                 return;
    1045             }
    1046 #endif
    10471036
    10481037            if (pVM->cpum.s.aGuestCpuIdStd[0].eax >= 1)
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